Theme variables overview

Theme variables are contained in the theme parts, and are set in the theme.scss.json file. They can be edited to change the look and feel of your customization.

Naming patterns

Naming patterns of theme variables can indicate how those variables are used. The following naming patterns are used by GBC:

Theme variable inheritance

GBC theme variables are interlinked and inherit default values from each. Often, the theme-* variables are used as the basis for other variables. Editing these higher-level variables has a "ripple down" effect on those variables that inherit their values.

For example, see Figure 1:

If you edit $theme-field-height-ratio, this impacts the entire "tree" of variables.

Figure: Inheritance of GBC theme variables