RedDokia API Reference / RedDokiaTheme
Interface: RedDokiaTheme
Design-token theme definition controlling workbench colors, spacing, typography, and island geometry.
Properties
| Property | Type | Description |
|---|---|---|
accent? | string | Primary brand accent color used for active indicators and focus rings (--rd-accent). |
accentSecondary? | string | Secondary accent color (--rd-accent-secondary). |
base? | RedDokiaBaseThemeId | Built-in base theme palette inherited by this theme ('dark' or 'light'). |
border? | string | Primary border and divider stroke color (--rd-border). |
contentsBg? | string | Central contents group background color (--rd-contents-bg). |
danger? | string | Semantic danger/destructive action color (--rd-danger). |
edgeBarBg? | string | Peripheral EdgeBar rail background color (--rd-edgebar-bg). |
fontMono? | string | Monospace font family stack for shortcuts, badges, and metrics (--rd-font-mono). |
fontSans? | string | Sans-serif UI font family stack (--rd-font-sans). |
groupHeaderBg? | string | Tab group header bar background color (--rd-group-header-bg). |
id | string | Unique theme identifier (e.g. 'dark', 'light', or custom theme key). |
islandGap | number | Gap in pixels between island panel groups (0 for flush borders). |
islandRadius? | string | Border radius CSS value for island panel groups (--rd-island-radius, e.g. '10px'). |
panelBg? | string | Tool panel content background color (--rd-panel-bg). |
shellBg? | string | Outer workbench shell background color (--rd-shell-bg). |
tabActiveBg? | string | Active tab pill background color (--rd-tab-active-bg). |
textMain? | string | Primary foreground text color (--rd-text-main). |
textMuted? | string | Muted/secondary foreground text color (--rd-text-muted). |
topBarBg? | string | TopBar background color (--rd-topbar-bg). |
warning? | string | Semantic warning indicator color (--rd-warning). |