RedDokia API Reference / RedDokiaCustomThemeDefinition
Interface: RedDokiaCustomThemeDefinition
Custom theme entry registered via themes prop — inherits from base ('dark' or 'light') and overrides themeTokens when active.
Extends
Partial<Omit<RedDokiaTheme,"id">>
Properties
| Property | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|
accent? | string | Primary brand accent color used for active indicators and focus rings (--rd-accent). | - | RedDokiaTheme.accent |
accentSecondary? | string | Secondary accent color (--rd-accent-secondary). | - | RedDokiaTheme.accentSecondary |
base? | RedDokiaBaseThemeId | Built-in base theme palette to inherit ('dark' by default; 'light' when overriding 'light'). | RedDokiaTheme.base | - |
border? | string | Primary border and divider stroke color (--rd-border). | - | RedDokiaTheme.border |
contentsBg? | string | Central contents group background color (--rd-contents-bg). | - | RedDokiaTheme.contentsBg |
danger? | string | Semantic danger/destructive action color (--rd-danger). | - | RedDokiaTheme.danger |
edgeBarBg? | string | Peripheral EdgeBar rail background color (--rd-edgebar-bg). | - | RedDokiaTheme.edgeBarBg |
fontMono? | string | Monospace font family stack for shortcuts, badges, and metrics (--rd-font-mono). | - | RedDokiaTheme.fontMono |
fontSans? | string | Sans-serif UI font family stack (--rd-font-sans). | - | RedDokiaTheme.fontSans |
groupHeaderBg? | string | Tab group header bar background color (--rd-group-header-bg). | - | RedDokiaTheme.groupHeaderBg |
islandGap? | number | Gap in pixels between island panel groups (0 for flush borders). | - | RedDokiaTheme.islandGap |
islandRadius? | string | Border radius CSS value for island panel groups (--rd-island-radius, e.g. '10px'). | - | RedDokiaTheme.islandRadius |
panelBg? | string | Tool panel content background color (--rd-panel-bg). | - | RedDokiaTheme.panelBg |
shellBg? | string | Outer workbench shell background color (--rd-shell-bg). | - | RedDokiaTheme.shellBg |
tabActiveBg? | string | Active tab pill background color (--rd-tab-active-bg). | - | RedDokiaTheme.tabActiveBg |
textMain? | string | Primary foreground text color (--rd-text-main). | - | RedDokiaTheme.textMain |
textMuted? | string | Muted/secondary foreground text color (--rd-text-muted). | - | RedDokiaTheme.textMuted |
topBarBg? | string | TopBar background color (--rd-topbar-bg). | - | RedDokiaTheme.topBarBg |
warning? | string | Semantic warning indicator color (--rd-warning). | - | RedDokiaTheme.warning |