Semantic properties
Components in the web app do not name colors directly. Instead they read semantic properties, which name a role, such as --btn-primary-bg for the background of a primary button. A theme changes the role, and every component that plays it follows. This page lists the semantic properties. It is the page to use when you write a theme stylesheet, because it shows which property to change for the thing that you want to restyle.
Each property is declared on :root for the light theme and on .dark for the dark theme in frontend/src/styles/tokens.css. Its value is usually a var() of a palette property. The tables are generated from that file and from the frontend source, and each row of a table has three parts:
- The property is the custom property's name.
- The value shows what the property resolves to in the light theme and in the dark theme, with a swatch for each color. A property that only
:rootdeclares shows "as light" for the dark theme, and a property that.force-lightredeclares shows its forced value too. - The used column says how the property reaches the screen. It lists the Tailwind utility classes that read the property, with the most used first. Tailwind maps a utility name to a property in the
@themeblock offrontend/src/index.css, sobg-btn-primary-bgpaints with--btn-primary-bg. The column also names the files that use the property most, how many times they use it, and the rules or scripts that read it without a utility.
Theme scopes and cascade describes how the light and dark values and the cascade work.
General
These properties hold the backgrounds, borders and label text of panels, dialogs and form controls, with hover and disabled variants where a control has them.
| Property | Value | Used |
|---|---|---|
--general-border-primary | Light var(--color-light-400)Dark var(--color-dark-400)Forced light var(--color-light-100) |
index.css, AdminRoles/ConfirmPermissionsChangesDialog, atoms/Checkbox |
--general-border-secondary | Light var(--color-light-100)Dark var(--color-dark-800)Forced light var(--color-light-100) |
InviteUser/ImportUsers, AI/AIAgentsTab, AdminPlugins/EntityPluginsTab |
--general-border-disabled | Light var(--color-light-300)Dark var(--color-dark-400) |
index.css, AdminRoles/RangeDatePicker, components/CodeSnippet |
--general-bg-primary | Light var(--color-base-0)Dark var(--color-dark-900)Forced light var(--color-base-0) |
index.css, AppDialog/PromptsSection, AI/AIAgentsTab |
--general-bg-primary-hover | Light var(--color-light-100)Dark var(--color-dark-850) |
AI/CopilotHeader, AI/AIAgentsTab, index.css |
--general-bg-primary-disabled | Light var(--color-light-200)Dark var(--color-dark-800) |
atoms/Checkbox, Forms/Checkbox, index.css |
--general-bg-secondary | Light var(--color-light-100)Dark var(--color-dark-800)Forced light var(--color-light-100) |
AI/CopilotWelcome, index.css, AI/CopilotSwitcher |
--general-bg-secondary-hover | Light var(--color-light-200)Dark var(--color-dark-750) |
index.css, AI/McpToolsDropdown, AI/CopilotWelcome |
--general-bg-secondary-disabled | Light var(--color-light-300)Dark var(--color-dark-700) |
index.css, components/CodeSnippet |
--general-label | Light var(--color-light-800)Dark var(--color-light-100)Forced light var(--color-light-800) |
index.css, atoms/Button, atoms/DropdownMenu |
--general-label-hover | Light var(--color-light-900)Dark var(--color-base-0)Forced light var(--color-light-900) |
index.css, atoms/Input, atoms/TextArea |
--general-label-disabled | Light var(--color-light-400)Dark var(--color-dark-200)Forced light var(--color-light-400) |
index.css, atoms/Button, atoms/Checkbox |
Alerts
These properties hold the colors of status messages and indicators.
| Property | Value | Used |
|---|---|---|
--alert-success | Light var(--color-success-200)Dark var(--color-success-100) |
AdminRoles/ConfirmPermissionsChangesDialog, atoms/ConnectionStatusDot, molecules/ConnectionTestResult |
--alert-warning | Light var(--color-warning-200)Dark var(--color-warning-100) |
components/McpServerModal, AdminRoles/ConfirmPermissionsChangesDialog, atoms/ConnectionStatusDot |
--alert-error | Light var(--color-error-200)Dark #ef5555 |
atoms/Checkbox, InviteUser/ImportUsers, atoms/ConnectionStatusDot |
--alert-informative | Light var(--color-informative-200)Dark var(--color-informative-100) |
atoms/Button, atoms/Checkbox, atoms/ConnectionStatusDot |
Surfaces
These properties hold the page-level colors, which are the colors of the page, the header, dividers, the translucent layer behind dialogs, and cards. Every hr element takes its color from --surface-divider.
| Property | Value | Used |
|---|---|---|
--surface-page | Light var(--color-light-50)Dark var(--color-base-100) |
LayoutAuth/index, LayoutAdmin/index, Skeleton/SettingsLayout |
--surface-header | Light var(--color-base-0)Dark var(--color-dark-900) |
Mobile/BottomTabBar |
--surface-divider | Light var(--color-light-200)Dark var(--color-dark-700) |
index.css, AdminRoles/EditPermissionsDialog, AI/CopilotContext |
--surface-layer | Light color-mix(in srgb, #000000 30%, transparent)Dark color-mix(in srgb, #000000 50%, transparent) |
index.css, dialogs/Dialog |
--surface-card | Light var(--color-light-100)Dark var(--color-dark-800) |
General/SharedAppsDialog, AppCard/AppCard, index.css |
Buttons
These properties style the variants of the Button component, which are primary, secondary, outlined, ghost, destructive and warning. A variant has background, label and border colors with hover and disabled states.
| Property | Value | Used |
|---|---|---|
--btn-primary-bg | Light var(--color-main-100)Dark var(--color-main-100) |
atoms/Button, Search/WidgetMenu, index.css |
--btn-primary-bg-hover | Light var(--color-main-200)Dark var(--color-main-200) |
atoms/Button, index.css |
--btn-primary-bg-disabled | Light var(--color-main-200)Dark var(--color-main-200) |
atoms/Button, index.css |
--btn-primary-label | Light var(--color-main-contrast)Dark var(--color-main-contrast) |
atoms/Button, atoms/Checkbox, Forms/Checkbox |
--btn-primary-label-disabled | Light var(--color-dark-50)Dark var(--color-dark-50) |
atoms/Button, index.css |
--btn-secondary-bg | Light var(--color-light-100)Dark var(--color-dark-800)Forced light var(--color-light-100) |
atoms/Button, index.css |
--btn-secondary-border | Light var(--color-light-300)Dark var(--color-dark-600)Forced light var(--color-light-300) |
atoms/Button, index.css |
--btn-secondary-bg-hover | Light var(--color-light-50)Dark var(--color-dark-700)Forced light var(--color-light-50) |
atoms/Button, index.css |
--btn-secondary-bg-disabled | Light var(--color-light-100)Dark var(--color-dark-800)Forced light var(--color-light-100) |
atoms/Button, index.css |
--btn-outlined-border | Light var(--color-light-300)Dark var(--color-dark-400) |
atoms/Button, index.css |
--btn-outlined-border-hover | Light var(--color-light-600)Dark var(--color-dark-50) |
index.css, atoms/Button |
--btn-outlined-border-disabled | Light var(--color-light-200)Dark var(--color-dark-800) |
atoms/Button, index.css |
--btn-outlined-bg-disabled | Light var(--color-light-50)Dark var(--color-dark-800) | nothing reads it |
--btn-outlined-label | Light var(--color-dark-800)Dark var(--color-light-50) |
index.css |
--btn-outlined-label-disabled | Light var(--color-light-400)Dark var(--color-dark-200) |
index.css |
--btn-ghost-bg-hover | Light var(--color-light-200)Dark var(--color-dark-700) |
AI/CopilotFooter, AI/CopilotContext, plugins/PresetsPanel |
--btn-ghost-label | Light var(--color-light-800)Dark var(--color-light-50) |
index.css |
--btn-ghost-label-disabled | Light var(--color-light-400)Dark var(--color-dark-200) |
index.css |
--btn-destructive-bg | Light #d63636Dark #d63636 |
atoms/Button |
--btn-destructive-bg-hover | Light var(--color-error-200)Dark var(--color-error-200) |
atoms/Button |
--btn-destructive-bg-disabled | Light var(--color-error-200)Dark var(--color-error-200) |
atoms/Button |
--btn-destructive-label | Light var(--color-base-0)Dark var(--color-base-0) |
atoms/Button |
--btn-destructive-label-disabled | Light var(--color-dark-50)Dark var(--color-dark-50) |
atoms/Button |
--btn-warning-bg | Light var(--color-warning-100)Dark var(--color-warning-100) |
atoms/Button |
--btn-warning-bg-hover | Light var(--color-warning-200)Dark var(--color-warning-200) |
atoms/Button |
--btn-warning-bg-disabled | Light var(--color-warning-200)Dark var(--color-warning-200) |
atoms/Button |
--btn-warning-label | Light var(--color-base-100)Dark var(--color-base-100) |
atoms/Button |
--btn-warning-label-disabled | Light var(--color-dark-200)Dark var(--color-dark-200) |
atoms/Button |
Links
The color of links is a single property.
| Property | Value | Used |
|---|---|---|
--link-color | Light var(--color-main-100)Dark var(--color-main-50) |
index.css, AI/CopilotWelcome, hooks/useSlashCommandSuggestions |
Dropdowns
These properties style menus and popovers.
| Property | Value | Used |
|---|---|---|
--dropdown-border | Light var(--color-light-100)Dark var(--color-dark-750)Forced light var(--color-light-100) |
AI/TextArea, atoms/DropdownMenu, General/SharedAppsDialog |
--dropdown-bg | Light var(--color-base-0)Dark var(--color-dark-850)Forced light var(--color-base-0) |
AI/TextArea, atoms/DropdownMenu, atoms/Popover |
--dropdown-shadow | Light 0 2px 8px 0 rgba(0, 0, 0, 0.06)Dark 0 2px 10px 0 rgba(0, 0, 0, 0.4)Forced light 0 2px 8px 0 rgba(0, 0, 0, 0.06) | 1 rule or script reads it directly |
Inputs
These properties style text inputs and their hover and disabled states.
| Property | Value | Used |
|---|---|---|
--input-bg | Light var(--color-base-0)Dark var(--color-dark-900)Forced light var(--color-base-0) |
index.css, AdminRoles/RangeDatePicker, atoms/Input |
--input-bg-hover | Light var(--color-light-50)Dark var(--color-dark-850)Forced light var(--color-light-50) |
AdminRoles/RangeDatePicker, atoms/Input, atoms/TextArea |
--input-bg-disabled | Light var(--color-light-100)Dark var(--color-dark-850) |
atoms/TextArea, AdminRoles/RangeDatePicker, atoms/Input |
Scrollbars
The ::-webkit-scrollbar rules of index.css read these properties, so they apply in browsers that support those pseudo-elements.
| Property | Value | Used |
|---|---|---|
--scrollbar-track | Light var(--color-light-100)Dark var(--color-dark-600) | 1 rule or script reads it directly |
--scrollbar-handle | Light var(--color-light-400)Dark var(--color-dark-300) | 1 rule or script reads it directly |
--scrollbar-handle-hover | Light var(--color-light-500)Dark var(--color-dark-50) | 1 rule or script reads it directly |
Tabs
These properties style tab strips and tab buttons, including the filled variants and the active state.
| Property | Value | Used |
|---|---|---|
--tab-bg-primary | Light color-mix(in srgb, var(--color-main-100) 10%, transparent)Dark var(--color-dark-700) |
index.css, molecules/Tabs |
--tab-bg-secondary | Light var(--color-light-100)Dark var(--color-dark-750) |
molecules/Tabs |
--tab-group-bg | Light var(--color-light-50)Dark var(--color-dark-850) |
DataConnectors/AddConnectionModal, Search/WidgetMenu, AdminRoles/EditPermissionsDialog |
--tab-border | Light color-mix(in srgb, var(--color-main-100) 15%, transparent)Dark var(--color-dark-500) | nothing reads it |
--tab-action-active | Light var(--color-main-200)Dark var(--color-main-50) |
molecules/Tabs, Mobile/BottomTabBar |
--tab-filled-primary-bg-active | Light var(--color-main-100)Dark var(--color-main-100) |
molecules/Tabs |
--tab-filled-primary-text-active | Light var(--color-main-contrast)Dark var(--color-main-contrast) |
molecules/Tabs |
--tab-filled-secondary-text | Light var(--color-light-600)Dark var(--color-dark-50) |
molecules/Tabs |
--tab-filled-secondary-text-active | Light var(--color-main-200)Dark var(--color-main-50) | nothing reads it |
--tab-filled-secondary-bg-active | Light var(--color-light-50)Dark var(--color-dark-600) | nothing reads it |
--tab-filled-secondary-bg-hover | Light var(--color-light-100)Dark var(--color-dark-600) |
molecules/Tabs |
Tags
Each of the twelve tag colors has a background property and a label property.
| Property | Value | Used |
|---|---|---|
--tag-pink-bg | Light color-mix(in srgb, var(--color-extra-pink-50) 50%, transparent)Dark color-mix(in srgb, var(--color-extra-pink-200) 50%, transparent) |
atoms/Tag, AppCard/Tag |
--tag-pink-label | Light var(--color-extra-pink-200)Dark var(--color-extra-pink-100) |
atoms/Tag, AppCard/Tag |
--tag-blue-bg | Light color-mix(in srgb, var(--color-extra-blue-50) 50%, transparent)Dark color-mix(in srgb, var(--color-extra-blue-200) 50%, transparent) |
AdminRoles/ActivityLogPage, atoms/Tag, General/SaveAppDialog |
--tag-blue-label | Light var(--color-extra-blue-100)Dark var(--color-extra-blue-50) |
AdminRoles/ActivityLogPage, atoms/Tag, General/SaveAppDialog |
--tag-green-bg | Light color-mix(in srgb, var(--color-extra-green-50) 50%, transparent)Dark color-mix(in srgb, var(--color-extra-green-200) 50%, transparent) |
AdminRoles/ActivityLogPage, AdminRoles/PermissionItemRow, atoms/Tag |
--tag-green-label | Light var(--color-extra-green-200)Dark var(--color-extra-green-100) |
AdminRoles/ActivityLogPage, AdminRoles/PermissionItemRow, atoms/Tag |
--tag-red-bg | Light color-mix(in srgb, var(--color-extra-red-50) 50%, transparent)Dark color-mix(in srgb, var(--color-extra-red-200) 50%, transparent) |
atoms/Tag, AppCard/Tag |
--tag-red-label | Light var(--color-extra-red-200)Dark var(--color-extra-red-50) |
atoms/Tag, AppCard/Tag |
--tag-yellow-bg | Light color-mix(in srgb, var(--color-extra-yellow-50) 50%, transparent)Dark color-mix(in srgb, var(--color-extra-yellow-200) 50%, transparent) |
atoms/Tag, AppCard/Tag |
--tag-yellow-label | Light var(--color-extra-yellow-200)Dark var(--color-extra-yellow-100) |
atoms/Tag, AppCard/Tag |
--tag-orange-bg | Light color-mix(in srgb, var(--color-extra-orange-50) 50%, transparent)Dark color-mix(in srgb, var(--color-extra-orange-200) 50%, transparent) |
DataConnectors/MyWidgetsTab, AdminRoles/ActivityLogPage, AdminRoles/PermissionItemRow |
--tag-orange-label | Light var(--color-extra-orange-200)Dark var(--color-extra-orange-100) |
DataConnectors/MyWidgetsTab, AdminRoles/ActivityLogPage, AdminRoles/PermissionItemRow |
--tag-coral-bg | Light color-mix(in srgb, var(--color-extra-coral-50) 50%, transparent)Dark color-mix(in srgb, var(--color-extra-coral-200) 50%, transparent) |
AppCard/Tag |
--tag-coral-label | Light var(--color-extra-coral-200)Dark var(--color-extra-coral-100) |
AppCard/Tag |
--tag-burgundy-bg | Light color-mix( in srgb, var(--color-extra-burgundy-50) 50%, transparent )Dark color-mix( in srgb, var(--color-extra-burgundy-200) 50%, transparent ) |
atoms/Tag, AppCard/Tag |
--tag-burgundy-label | Light var(--color-extra-burgundy-200)Dark var(--color-extra-burgundy-100) |
atoms/Tag, AppCard/Tag |
--tag-grey-bg | Light color-mix(in srgb, var(--color-extra-grey-50) 50%, transparent)Dark color-mix(in srgb, var(--color-extra-grey-200) 50%, transparent) |
DraggableCard/NavBar, atoms/Tag, AppCard/Tag |
--tag-grey-label | Light var(--color-extra-grey-100)Dark var(--color-extra-grey-50) |
DraggableCard/NavBar, atoms/Tag, AppCard/Tag |
--tag-turquoise-bg | Light color-mix( in srgb, var(--color-extra-turquoise-50) 50%, transparent )Dark color-mix( in srgb, var(--color-extra-turquoise-200) 50%, transparent ) |
AppCard/Tag |
--tag-turquoise-label | Light var(--color-extra-turquoise-200)Dark var(--color-extra-turquoise-100) |
AppCard/Tag |
--tag-brand-bg | Light color-mix(in srgb, var(--color-main-50) 30%, transparent)Dark color-mix(in srgb, var(--color-main-100) 30%, transparent) |
atoms/Tag, AppCard/Tag |
--tag-brand-label | Light var(--color-main-200)Dark var(--color-main-50) |
atoms/Tag, AppCard/Tag |
--tag-purple-bg | Light color-mix(in srgb, var(--color-extra-purple-50) 50%, transparent)Dark color-mix(in srgb, var(--color-extra-purple-200) 50%, transparent) |
AdminRoles/ActivityLogPage, atoms/Tag, AppCard/Tag |
--tag-purple-label | Light var(--color-extra-purple-200)Dark var(--color-extra-purple-100) |
AdminRoles/ActivityLogPage, atoms/Tag, AppCard/Tag |
Tables
These properties style the header, the cells and the hovered cells of tables.
| Property | Value | Used |
|---|---|---|
--table-header-bg | Light var(--color-light-100)Dark var(--color-dark-800) |
DataTable/DataTable, ThemeSettings/ThemeSpecimen |
--table-cell-bg | Light var(--color-base-0)Dark var(--color-dark-900) |
DataTable/DataTable, ThemeSettings/ThemeSpecimen |
--table-cell-bg-hover | Light var(--color-light-100)Dark var(--color-dark-850) |
DataTable/DataTable, ThemeSettings/ThemeSpecimen |
Tooltips, toggles and the widget search
These properties style tooltips, switches and the search field of the widget library.
| Property | Value | Used |
|---|---|---|
--tooltip-bg | Light var(--color-base-0)Dark var(--color-dark-800) |
components/Tooltip, atoms/Popover, hooks/useSlashCommandSuggestions |
--toggle-bg | Light var(--color-light-200)Dark var(--color-dark-400) |
atoms/Switch |
--toggle-bg-disabled | Light var(--color-light-300)Dark var(--color-dark-200) |
atoms/Switch |
--search-widget-background | Light var(--color-base-0)Dark var(--color-dark-800) |
Search/WidgetMenu |
Text
These properties hold the text colors for headings, subtitles, body text, captions and support text.
| Property | Value | Used |
|---|---|---|
--text-heading | Light var(--color-light-850)Dark var(--color-base-0)Forced light var(--color-light-850) |
AI/McpToolsDropdown, index.css, AI/CopilotSwitcher |
--text-subtitle | Light var(--color-light-750)Dark var(--color-light-50)Forced light var(--color-light-750) |
Apps/ManageAppDialog, index.css, General/UploadedFile |
--text-body | Light var(--color-light-700)Dark var(--color-light-100)Forced light var(--color-light-700) |
Apps/ManageAppDialog, AppCard/AppCard, AI/AIAgentsTab |
--text-caption | Light var(--color-light-600)Dark var(--color-light-500)Forced light var(--color-light-600) |
AdminPlugins/TrustSummary, AI/McpToolsDropdown, General/SharedAppsDialog |
--text-support | Light var(--color-light-500)Dark var(--color-dark-100)Forced light var(--color-light-500) | nothing reads it |
Agent
These properties hold the colors of mentions in Agent text and the background of the cards that show artifacts.
| Property | Value | Used |
|---|---|---|
--copilot-mention-bg | Light var(--color-main-200)Dark var(--color-main-200) |
AI/TextStyle |
--copilot-mention-label | Light var(--color-main-contrast)Dark var(--color-main-contrast) |
AI/TextStyle |
--copilot-mention-web-bg | Light var(--color-light-500)Dark var(--color-dark-300) |
AI/TextStyle |
--copilot-mention-web-label | Light var(--color-base-0)Dark var(--color-base-0) |
AI/TextStyle |
--components-chat-copilot-cards-bg | Light var(--color-light-50)Dark var(--color-dark-850) |
AI/Artifact |
Declared and not read
Nothing in the frontend source reads the following properties, whether through a class, a rule, a script or another property. Changing one of them has no effect.
--color-error-50--color-success-50--color-warning-50--color-informative-50--color-extra-red-100--btn-outlined-bg-disabled--tab-border--tab-filled-secondary-text-active--tab-filled-secondary-bg-active--text-support