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:
Christian Hergert
2016-10-08 16:28:18 -07:00
parent 7ca8493130
commit 7c55f379bb
9 changed files with 327 additions and 12 deletions

View 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);
}