summaryrefslogtreecommitdiff
path: root/src/ui/theme-parser.c
diff options
context:
space:
mode:
authorFlorian Müllner <[email protected]>2014-09-27 18:25:31 +0300
committerVictor Kareh <[email protected]>2018-08-28 09:38:37 -0400
commit18bfff32531e13d18c53f9a990fdf48a2cd52673 (patch)
tree8f6ada880c41f5a37a48457b4813d5fd11c8d76c /src/ui/theme-parser.c
parented5eff6a2bf4a0d0a70d526726116d02442fdbac (diff)
downloadmarco-18bfff32531e13d18c53f9a990fdf48a2cd52673.tar.bz2
marco-18bfff32531e13d18c53f9a990fdf48a2cd52673.tar.xz
theme: Allow using custom colors from the GTK+ theme
Add an additional color type to pick up colors defined with @define-color in the GTK+ theme's CSS: gtk:custom(name,fallback) (where "name" refers to the name defined in GTK+'s CSS, and fallback refers to an alternative color spec which is used when the color referenced by "name" is not found) The main intent of the change is to allow designers to improve Adwaita's dark theme variant without having to compromise on colors which work in the light variant as well. https://bugzilla.gnome.org/show_bug.cgi?id=648709 NOTE: Patch copied from mutter and adapted for metacity.
Diffstat (limited to 'src/ui/theme-parser.c')
-rw-r--r--src/ui/theme-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c
index b4186594..8f7c76fd 100644
--- a/src/ui/theme-parser.c
+++ b/src/ui/theme-parser.c
@@ -38,7 +38,7 @@
* look out for.
*/
#define THEME_MAJOR_VERSION 3
-#define THEME_MINOR_VERSION 3
+#define THEME_MINOR_VERSION 4
#define THEME_VERSION (1000 * THEME_MAJOR_VERSION + THEME_MINOR_VERSION)
#define MARCO_THEME_FILENAME_FORMAT "metacity-theme-%d.xml"