Skip to main content

Theme Editor

Introduction

The Theme Editor is the built-in tool for customizing the visual appearance of a Simplicité instance. It controls colors, typography, spacing, borders, and interactive states across all interface elements. Changes made in the editor are compiled into a CSS stylesheet applied to the entire interface.

Theme files

Each theme is backed by three files:

FileRole
constants.lessTheme variables as Less constants — values set in the editor are written here
addons.lessCustom style overrides — edit this file to extend beyond what the editor exposes
theme_gen.cssCompiled final stylesheet — do not edit directly

To customize beyond what the Theme Editor exposes, use addons.less. See Complementary Styles for details.

Creating a theme

  1. Navigate to User Interface > Themes and click Create
  2. Select a base theme: Dark, Light, or Default
  3. Set a name and assign to a module
warning

Base themes are building blocks, not intended for direct use. Always create a custom theme that extends one of them.

Using the Theme Editor

  1. Navigate to User Interface > Themes
  2. Open a theme and click Preview

The editor has three sections:

SectionRole
Interface PreviewLive visualization. Navigate tabs (Home, Buttons, Panels, Form, List, Dialog) to preview different elements
Values MenuStyle controls organized by interface area. Adjust background, text, border, and hover states per element
DOM Path ViewerDisplays the DOM path of the element hovered in the Preview, in Less format — useful for targeting elements in addons.less

Style areas

The Values Menu covers the following interface areas:

AreaControls
BaseBackground color, fonts, spacing fundamentals
MainHeader, footer, navigation breadcrumb
MenuMain navigation menu, active/inactive states
PanelTop-level panel container, header, footer
Sub-panelNested panels within main panels
TabsTab navigation and active states
FieldInput labels, inputs, readonly states, foreign key references
ListTable headers, rows, filter bar
DialogModal container, header, footer

Applying a theme

Themes are applied at the view level:

  1. Navigate to User Interface > Views > Home Pages
  2. Open the target view
  3. Set your custom theme in the view configuration
  4. Clear the cache to apply changes