-
Notifications
You must be signed in to change notification settings - Fork 8
Color Scheme
Color scheme is the set of configuration options that changing colors of various theme elements: buttons, text, etc.
Configuration options are divided by layers - groups of color options. Higher levels are for more granular options. Only layer 1 is required, but since theme.conf
already contains these options, they can be omitted in theme.conf.user
, but it's recommended to redefine them, as they can define full color scheme.
You can use either SVG color names or hexadecimal colors in #RRGGBB
or #AARRGGBB
format.
Note: if you're using only layer 1, backgrounds will be semi-transparent automatically. But if you set background colors manually on higher layers, they will lose automatic transparency. So it's recommended to use
#AARRGGBB
format for backgrounds.
Levels that are higher than 1 have fallback colors to current or lower levels, so they can be optional and you could set options that you need. Fallback colors will check every option from left to right for existing, and will use first existing option.
If fallback is shown as "fallback...
" it means that fallback
's fallback colors are also applied. Example:
-
option
fallbacks areother_option
,fall...
; -
fall
fallbacks arecolor
; - so
option
fallbacks will beother_option
,fall
,color
.
Also fallback color can have "alpha component" value from 0.0 (transparent) to 1.0 (opaque) shown in brackets next to color, e.g. color (0.5)
. They are set internally on level 1 and cannot be changed, but you can set color before it (i.e. higher level) to avoid losing custom transparency.