Skip to content

Color Scheme

RadRussianRus edited this page Sep 10, 2018 · 1 revision

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 are other_option, fall...;
  • fall fallbacks are color;
  • so option fallbacks will be other_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.

Current layers

  • Layer 1 - color options that are mandatory.
  • Layer 2 - common color options.
  • Layer 3 - colors for specific control groups.
Clone this wiki locally