Theme
Audience: CMS editors, integrators, and developers.
Theme defines one identity: fonts, control shape, dimensions, logo, and favicon.
It links one ColorVariant for each appearance.
Changing appearance selects colors without changing the Theme’s identity.
Pages use Page.theme. Headers, footers, hero slides, and individual banner
buttons can select a local Theme. See theme inheritance
for scope rules.
Record fields
CMS record identifier.
Required, unique Theme name. Editors can change it.
CMS owner identifier. The CMS sets it during creation and preserves it during updates. It is not part of the public Theme payload.
Appearance
Both relationships are required. They can reference the same ColorVariant if both appearances use the same colors. A missing relationship is invalid.
Complete colors used for the light appearance.
Complete colors used for the dark appearance.
An appearance name does not describe every background. A light ColorVariant can contain dark surfaces. Each ThemeSurface declares its own text, artwork, and native control appearance.
Fonts
Required base font for the Theme.
Optional font assignments for specific text roles.
Dimensions and control shape
Root font size in pixels for mobile and tablet. Integer, minimum 1. Default: 16.
Root font size in pixels for desktop. Integer, minimum 1. Default: 18.
Theme border width in pixels. Minimum 0; decimal values are valid. Default: 2.
Shape for filled or outlined Theme controls. Default: rounded.
Brand assets
Optional SVG favicon upload. The public asset contains filename, filesize, and url.
Optional logo. Its image record supplies the default file and optional artwork variants.
Surfaces select artwork with default or onDark. If an onDark file is
missing, the default file is used. Editors must make sure that the supplied
artwork is suitable for the surface. Logo availability does not select text
colors or a background tint.