Skip to content

Size Scheme

Eric Kotato edited this page Jun 9, 2022 · 2 revisions

Size scheme is the set of configuration options that change paddings 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.

Size option is defined by single integer (both negative and positive).

Levels that are higher than 1 have fallback sizes to current or lower levels, so they can be optional and you could set options that you need. Fallback sizes 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 sizes are also applied. Example:

  • option fallbacks are other_option, fall...;
  • fall fallbacks are size;
  • so option fallbacks will be other_option, fall, size.

Current layers

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