Skip to Content
How-to guidesAppearanceConfigure theme surfaces

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 nameWhat editors must configure
theme-pageA complete surface with this Tag in every ColorVariant. This is the only required surface key.
theme-brandAn optional Brand surface when branded areas need their own colors.
theme-panelAn 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 namePlacement
theme-footerFooter, including its logo area.
theme-heroHero slide palette when no active section marker applies.
theme-inputsVisible public input controls, including dropdown triggers.
theme-navigationNormal navigation and its moving solid background.
theme-quicklinksScrolled 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

  1. Open Theme-Aktionen and create an ActionStyle.
  2. Set its name, fill, label, hover fill, pressed fill, and border.
  3. Check that the same label color works on all three fill states.
  4. Save the record.
  5. 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

  1. Open Theme-Flächen and create a Theme Surface.
  2. Give it a clear display name, such as Example light / Page.
  3. Select theme-page in Flächen-Tag.
  4. Set background, normal text, and Sekundärer Text auf diesem Hintergrund (mutedText).
  5. Select the artwork request: Standardbild (default) or Bild für dunkle Flächen (onDark).
  6. Select the native control color scheme in Darstellung nativer Bedienelemente.
  7. Fill in all colors under Interaktionen, including focus, border, hover and pressed pairs, outlined actions, and links.
  8. Leave Eigener Aktionsstil empty to use the ColorVariant’s shared ActionStyle. Select a complete override only when this surface needs one.
  9. Save the record.
  10. 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

  1. Open the saved surface and select Fläche duplizieren in the sidebar.
  2. The CMS creates a record named with the suffix (Kopie) and opens it.
  3. Change its display name, Tag, and colors as needed.
  4. 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

  1. Open Farbvarianten and create a ColorVariant for light appearance.
  2. Add its Page surface and any optional surfaces under Flächen (surfaces).
  3. Select its Gemeinsamer Aktionsstil (actionStyle).
  4. Set the background and text pairs for error, success, and warning messages under Statusmeldungen.
  5. Save the variant.
  6. 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

  1. Open or create the Theme under Themes.
  2. Set its unique name and required Standard-Schriftart.
  3. Set the root font sizes, border width, and Button Form.
  4. Select the variants in Farbvariante für den Hellmodus (lightColorVariant) and Farbvariante für den Dunkelmodus (darkColorVariant). Both relationships are required.
  5. Add the optional logo, image variants, and favicon as needed.
  6. Save the Theme.
  7. 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

  1. Create the custom Tag, such as theme-campaign, as described above.
  2. Create a complete surface with that Tag and add it to each ColorVariant where it must have custom colors.
  3. Open the page’s ordered banner list and add a SectionMarker before the target banners.
  4. Select the same Tag in Abschnittsfläche (sectionSurface).
  5. Add another marker with theme-page where the section must return to Page.
  6. 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

  1. Open the page in light and dark appearance.
  2. Check normal and muted text, links, focus, hover, pressed, and disabled states.
  3. Check the Page, Brand, Panel, and custom sections. Do not assume that both variants contain the same optional keys.
  4. Check logo artwork on solid backgrounds, hero images, and scrolled navigation glass.
  5. Open navigation and scroll on desktop and tablet. Check the separate phone navigation too.
  6. 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.
  7. Open a dialog and check its existing Panel colors; the Inputs role must not recolor the whole form or dialog.
  8. Use /admin/buttons to 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.

Last updated on