diff options
author | Florian Müllner <fmuellner@gnome.org> | 2011-05-04 16:13:55 +0200 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2011-07-08 22:40:43 +0200 |
commit | 54b2fab849dee46c55314edaaae048886a5d335c (patch) | |
tree | 2c15398d84e2099a929d7f50065aa9802a293da9 /doc | |
parent | 8033184134b1af66174cfe49d79c59f8b951eb00 (diff) | |
download | mutter-54b2fab849dee46c55314edaaae048886a5d335c.tar.gz |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/theme-format.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/theme-format.txt b/doc/theme-format.txt index 52e409988..2a58e3550 100644 --- a/doc/theme-format.txt +++ b/doc/theme-format.txt @@ -22,6 +22,18 @@ This document has separate sections for each format version. You may want to read the document in reverse order, since the base features are discussed under version 1. +New Features in Theme Format Version 3.4 +======================================== + +An additional color type is added to pick up custom colors defined +in the GTK+ theme's CSS: + + gtk:custom(name,fallback) + +where <name> refers to a custom color defined with @define-color in +the GTK+ theme, and <fallback> provides an alternative color definition +in case the color referenced by <name> is not found. + New Features in Theme Format Version 3.3 ======================================== |