--fd-* prefix as its theming API. Override these tokens to customize the editor’s appearance.
Preview themes in Storybook
See components rendered with these tokens — toggle light/dark and inspect the result live — in the FlowDrop Storybook.
How theming works
FlowDrop’s token system has three tiers:
Override
--fd-* tokens and all components update automatically.
Surfaces
Borders
Primary & accent
Status colors
Each status color has four variants:Spacing
Border radius
Typography
Layout
Node dimensions
Node dimensions use a 10px grid to align with the editor’s snap grid:Accent HSL knobs
For fine-grained accent control, FlowDrop exposes HSL components:
Quick accent experiments:
Dark mode
FlowDrop auto-switches tokens based ondata-theme:
--fd-accent-low becomes darker and --fd-accent-high becomes lighter.
Next steps
- Theming Guide — practical theming patterns
- Store API: settingsStore — programmatic theme control