Rendering themes is a experimental features that allows a Cockpitdecks developer to provide different sets of default values.
Theme Declaration
cockpit-theme: night
Theme default value is an empty string (no theme).
Theme Usage
When a theme is defined, its name is prepended to some default values.
Default values affected by themes are:
cockpit-color
andcockpit-texture
- All attributes that end with
color
. Exampledefault-color
. - All attributes that end with
texture
. Exampleannunciator-bg-texture
. - All attributes that contain the word
font
. Examplelabel-font
.