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:
7
lib/resources/css/SpVisualizerView-Adwaita.css
Normal file
7
lib/resources/css/SpVisualizerView-Adwaita.css
Normal file
@ -0,0 +1,7 @@
|
||||
visualizers list row {
|
||||
background-color: #f6f7f8;
|
||||
background-size: 8px 8px;
|
||||
background-image: repeating-linear-gradient(0deg, #f0f1f2, #f0f1f2 1px, transparent 1px, transparent 8px),
|
||||
repeating-linear-gradient(-90deg, #f0f1f2, #f0f1f2 1px, transparent 1px, transparent 8px);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user