Configure theme surfaces
Audience: CMS editors and administrators.
Use this guide to create the color settings for a Theme and add optional section or component surfaces. You need permission to edit Tags, Theme-Flächen, Theme-Aktionen, Farbvarianten, and Themes. Theme style records require Manager access or higher. For a new Theme, prepare a base Font and approved colors for all interaction states.
1. Prepare the surface Tags
Open Tags in the CMS. A surface uses the Tag’s exact name as its key.
The display name of a Theme Surface does not select its role.
Project initialization creates these three Tags. Check that they exist; do not rename or delete them.
| Tag name | What editors must configure |
|---|---|
theme-page | A complete surface with this Tag in every ColorVariant. This is the only required surface key. |
theme-brand | An optional Brand surface when branded areas need their own colors. |
theme-panel | An optional Panel surface for controls, cards, dialogs, and similar areas. |
Initialization creates the Tags, not the color records or their assignments. If the core Tags are missing, ask an administrator to check project initialization.
Create the following Tags yourself when those placements need separate colors. Keep the spelling exactly as shown.
| Optional Tag name | Placement |
|---|---|
theme-footer | Footer, including its logo area. |
theme-hero | Hero slide palette when no active section marker applies. |
theme-inputs | Visible public input controls, including dropdown triggers. |
theme-navigation | Normal navigation and its moving solid background. |
theme-quicklinks | Scrolled desktop and tablet navigation, including the glass treatment. |
For a custom section, create a Tag such as theme-campaign or theme-brand-soft.
Use the theme- prefix for surface Tags.
Use the same Tag record for the surface definition and the SectionMarker.
Do not create another Tag for dark appearance; both variants use the same key.
A Tag alone does not change a page. It needs a Theme Surface assigned to the relevant ColorVariant. If a key is absent, component priorities or the required Page surface apply. See surface priorities before adding a component-specific key.
2. Create the shared action styles
- Open
Theme-Aktionenand create an ActionStyle. - Set its name, fill, label, hover fill, pressed fill, and border.
- Check that the same label color works on all three fill states.
- Save the record.
- Create another style for dark appearance if the same values do not work there.
Each ColorVariant needs a shared ActionStyle. You can reuse one style where its complete settings are suitable. See the ActionStyle reference for the field names.
3. Create the surfaces
- Open
Theme-Flächenand create a Theme Surface. - Give it a clear display name, such as
Example light / Page. - Select
theme-pageinFlächen-Tag. - Set background, normal text, and
Sekundärer Text auf diesem Hintergrund(mutedText). - Select the artwork request:
Standardbild(default) orBild für dunkle Flächen(onDark). - Select the native control color scheme in
Darstellung nativer Bedienelemente. - Fill in all colors under
Interaktionen, including focus, border, hover and pressed pairs, outlined actions, and links. - Leave
Eigener Aktionsstilempty to use the ColorVariant’s shared ActionStyle. Select a complete override only when this surface needs one. - Save the record.
- Repeat for dark appearance and any optional surface keys you need.
Color fields support hex and OKLCH, for example #EAF2FF and oklch(95% 0.025 250).
Supply valid CSS colors. Check the input preview and the rendered page.
The application does not convert your colors or repair low contrast.
Dark appearance does not require every surface to have a dark background.
Set text, muted text, artwork, and native controls for the actual surface colors.
An onDark image file is optional; check that the default file works if you omit it.
Give inputs their own colors
Create the optional theme-inputs Tag and complete surfaces with that Tag.
Add them to the ColorVariants where inputs need a separate palette. Project
initialization does not create these records.
Set all text, muted text, border, focus, interaction, and native control colors. Check the shared ActionStyle on selected controls. Assign a complete action override to the Inputs surface if the shared style is unsuitable there.
The role changes visible input controls, including dropdown triggers. It does not
recolor the surrounding form or dialog. Checkbox and radio labels, and hints
outside the painted control, keep their section colors. Action buttons keep
their existing styles. A variant without theme-inputs keeps each control’s
previous Panel or inherited section selection.
Copy an existing surface
- Open the saved surface and select
Fläche duplizierenin the sidebar. - The CMS creates a record named with the suffix
(Kopie)and opens it. - Change its display name, Tag, and colors as needed.
- Save it and assign it to the intended ColorVariant in the next step.
The action copies the saved values, not unsaved form edits. The Tag and optional ActionStyle stay shared. Editing that ActionStyle affects its other users too. The copy does not replace an existing surface or connect itself to a variant.
4. Assemble the ColorVariants
- Open
Farbvariantenand create a ColorVariant for light appearance. - Add its Page surface and any optional surfaces under
Flächen(surfaces). - Select its
Gemeinsamer Aktionsstil(actionStyle). - Set the background and text pairs for error, success, and warning messages under
Statusmeldungen. - Save the variant.
- Repeat for dark appearance, or reuse the same complete variant if both appearances must be identical.
Each variant must contain theme-page and can contain only one surface per Tag.
A missing Brand, Panel, or custom key is allowed.
The renderer selects the first available component priority, then Page if no requested key exists.
Light and dark resolve separately.
5. Connect the Theme
- Open or create the Theme under
Themes. - Set its unique name and required
Standard-Schriftart. - Set the root font sizes, border width, and
Button Form. - Select the variants in
Farbvariante für den Hellmodus(lightColorVariant) andFarbvariante für den Dunkelmodus(darkColorVariant). Both relationships are required. - Add the optional logo, image variants, and favicon as needed.
- Save the Theme.
- Apply it to a page or component.
Both appearances use the same Theme identity and logo relationship. Artwork variants belong to that image record, not to a separate dark Theme.
6. Use a custom section surface
- Create the custom Tag, such as
theme-campaign, as described above. - Create a complete surface with that Tag and add it to each ColorVariant where it must have custom colors.
- Open the page’s ordered banner list and add a SectionMarker before the target banners.
- Select the same Tag in
Abschnittsfläche(sectionSurface). - Add another marker with
theme-pagewhere the section must return to Page. - Save the page.
Content before the first marker starts on Page.
The marker changes following content until another marker or the list end.
Hero slides also use the active marker’s Tag. A theme-page marker explicitly changes them to Page.
Before any active marker, Hero uses theme-hero, then theme-brand, then Page.
If a slide selects a local Theme, the marker’s role resolves in that Theme’s light and dark variants independently.
Functional cards and dialogs keep their explicit Panel placement.
If a Theme or appearance does not define the marker’s key, that section uses its Page surface.
See section inheritance for a diagram.
Verify the result
- Open the page in light and dark appearance.
- Check normal and muted text, links, focus, hover, pressed, and disabled states.
- Check the Page, Brand, Panel, and custom sections. Do not assume that both variants contain the same optional keys.
- Check logo artwork on solid backgrounds, hero images, and scrolled navigation glass.
- Open navigation and scroll on desktop and tablet. Check the separate phone navigation too.
- Check input fields and selected controls. Open their dropdowns and check that the selection panels use
theme-panel, or Page if Panel is absent. The triggers keep their Inputs selection. Check labels and hints on the surrounding section too. - Open a dialog and check its existing Panel colors; the Inputs role must not recolor the whole form or dialog.
- Use
/admin/buttonsto inspect the selected surface, action source, and contrast reports.
If the saved settings are not visible, use refresh content. The Theme Surface reference lists the complete field contract and placement priorities.