Built-in Themes
Two themes are provided out of the box:Light Theme (theme)
The default light theme with a clean, bright appearance.
Dark Theme (darkTheme)
A dark theme optimized for low-light environments.
Applying Custom Themes
Pass theme customizations togetStorybookUI():
Theme Interface
Base Properties
The base theme mode.
Colors
Color palette configuration
Primary brand color (coral)
Secondary brand color (ocean blue)
Lighter variant of secondary color
Tertiary color
Ancillary accent color
Complementary orange
Complementary gold
Complementary green
Complementary seafoam
Complementary purple
Complementary ultraviolet
Lightest monochrome shade
Lighter monochrome shade
Light monochrome shade
Medium-light monochrome shade
Medium monochrome shade
Medium-dark monochrome shade
Dark monochrome shade
Darker monochrome shade
Darkest monochrome shade
Default border color
Positive/success color
Negative/error color
Warning color
Critical status color
Default text color
Inverse text color
Positive text color
Negative text color
Warning text color
Background
Background color configuration
Main app background color
Toolbar/bar background color
Content area background color
Story preview background color
Grid cell size for background patterns
Background for hoverable/pressable items
Positive notification background
Negative notification background
Warning notification background
Critical notification background
Typography
Typography configuration
Font sizes
Extra small text
Small text
Small-medium text
Medium text
Medium-large text
Medium-extra large text
Large text
Extra large text
Extra extra large text
Code text size
Input
Button
Boolean
Layout
Default margin for layout elements
Application border color
Application border radius
Toolbar
Toolbar text color
Toolbar item hover color
Toolbar item selected color
Toolbar background color
Branding
Custom branding configuration
Replace Storybook logo with this title
URL to open when clicking the branded logo/title
Image source to replace Storybook logo
Resize mode for brand image
Link target attribute
Muted text color for secondary content