Skip to main content

Themes

Introduction

A Theme defines the visual styles of a Simplicité native interface — colors, typography, spacing, borders, and interactive states. Themes are created and edited through the built-in Theme Editor, and can be extended with a custom addons.less stylesheet for styles the editor doesn't expose.

A theme must be associated to a scope to take effect.

Configuration

Field Description
NameUnique name for the Theme, which helps in identifying it & hinting its usage/purpose.
Base themeThe fallback tone/palette for the theme, between light/dark & default.
ConstantsLESS variables that were set from the Theme-Editor.
Addon stylesCustom file of your choice that is gonna be merged to "constants" to define the final theme.
CompactDefines if by default the UI appears as compacted or not. Doesn't prevent the user from switching manually.
Logo scopeImage file, it's the logo displayed in the "scope" dropdown menu in the header.
FaviconImage file, it's the one displayed as page's favicon.
Header logoImage file (.svg recommended), displayed in the header's left-side.
Code editor themeTheme to use for the code-editor (designer & embedded), ensure it's in the list below (*).
HTML editor themeTheme to use for the Quill HTML editor (longstring typed fields with HTML rendering), "Snow" / "Bubble".
Module NameDefine the module to which the theme belongs.
(*)

Light: chrome, clouds, crimson_editor, dawn, dreamwaver, eclipse, github, iplastic, katzenmilch, kuroir, solarized_light, sqlserver, textmate, tomorrow, xcode.

Dark: ambiance, chaos, clouds_midnight, cobalt, dracula,gob, gruvbox,idle_fingers, kr_theme, merbivore, merbivore_soft, mono_industrial, monokai, pastel_on_dark, solarized_dark, terminal, tomorrow_night, tomorrow_night_blue, tomorrow_night_bright, tomorrow_night_eighties, twilight, vibrant_ink.

Theme Editor

The Theme Editor is accessible from the theme's form via the Preview button. It provides a live preview of the interface with three working areas:

SectionRole
Editing AreaLive preview of the interface, organized by tabs (Home, Buttons, Panels, Form, List, Dialog). Click any customizable element to load its properties in the Theme Palette. Hover elements to reveal their DOM path in the Class Path
Theme PaletteControls for the selected element — color pickers, sliders. Changes are reflected immediately in the Editing Area. Organized by style groups
Class PathDisplays the DOM path of the currently hovered element in Less format, useful for writing targeted overrides in addons.less

Style areas

The Theme Palette 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

Extending with custom styles

For styles not covered by the Theme Editor, use the addons.less file attached to the theme. This stylesheet is applied on top of the generated theme CSS and accepts standard Less or CSS syntax.

See Complementary Styles for usage patterns and examples.

Applying a theme

Themes are applied at the view level. A theme can be assigned to any Home Page view via the view's Theme Name field.