mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
theme-manager: add SpThemeManager and use it for custom css
We want to set some custom backgrounds for the visualizers, and those need to track with the current theme. SpThemeManager will watch the systems theme changes (including dark theme) and update the loaded CSS resources as necessary.
This commit is contained in:
@ -15,11 +15,6 @@ visualizers list {
|
||||
background: @theme_bg_color;
|
||||
}
|
||||
|
||||
visualizers list row {
|
||||
background: @content_view_bg;
|
||||
border-bottom: 1px solid alpha(@borders, 0.2);
|
||||
}
|
||||
|
||||
visualizers list row:backdrop,
|
||||
visualizers list row:last-child {
|
||||
border-bottom: none;
|
||||
|
||||
Reference in New Issue
Block a user