Skip to content

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 ​

Properties ​

PropertyTypeDescriptionOverridesInherited from
accent?stringPrimary brand accent color used for active indicators and focus rings (--rd-accent).-RedDokiaTheme.accent
accentSecondary?stringSecondary accent color (--rd-accent-secondary).-RedDokiaTheme.accentSecondary
base?RedDokiaBaseThemeIdBuilt-in base theme palette to inherit ('dark' by default; 'light' when overriding 'light').RedDokiaTheme.base-
border?stringPrimary border and divider stroke color (--rd-border).-RedDokiaTheme.border
contentsBg?stringCentral contents group background color (--rd-contents-bg).-RedDokiaTheme.contentsBg
danger?stringSemantic danger/destructive action color (--rd-danger).-RedDokiaTheme.danger
edgeBarBg?stringPeripheral EdgeBar rail background color (--rd-edgebar-bg).-RedDokiaTheme.edgeBarBg
fontMono?stringMonospace font family stack for shortcuts, badges, and metrics (--rd-font-mono).-RedDokiaTheme.fontMono
fontSans?stringSans-serif UI font family stack (--rd-font-sans).-RedDokiaTheme.fontSans
groupHeaderBg?stringTab group header bar background color (--rd-group-header-bg).-RedDokiaTheme.groupHeaderBg
islandGap?numberGap in pixels between island panel groups (0 for flush borders).-RedDokiaTheme.islandGap
islandRadius?stringBorder radius CSS value for island panel groups (--rd-island-radius, e.g. '10px').-RedDokiaTheme.islandRadius
panelBg?stringTool panel content background color (--rd-panel-bg).-RedDokiaTheme.panelBg
shellBg?stringOuter workbench shell background color (--rd-shell-bg).-RedDokiaTheme.shellBg
tabActiveBg?stringActive tab pill background color (--rd-tab-active-bg).-RedDokiaTheme.tabActiveBg
textMain?stringPrimary foreground text color (--rd-text-main).-RedDokiaTheme.textMain
textMuted?stringMuted/secondary foreground text color (--rd-text-muted).-RedDokiaTheme.textMuted
topBarBg?stringTopBar background color (--rd-topbar-bg).-RedDokiaTheme.topBarBg
warning?stringSemantic warning indicator color (--rd-warning).-RedDokiaTheme.warning