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:
@ -1,7 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/org/gnome/sysprof">
|
||||
<file compressed="true">css/shared.css</file>
|
||||
<file compressed="true">css/SpVisualizerView-shared.css</file>
|
||||
<file compressed="true">css/SpVisualizerView-Adwaita.css</file>
|
||||
<file compressed="true">css/SpVisualizerView-Adwaita-dark.css</file>
|
||||
|
||||
<file compressed="true">ui/sp-callgraph-view.ui</file>
|
||||
<file compressed="true">ui/sp-empty-state-view.ui</file>
|
||||
|
||||
Reference in New Issue
Block a user