Skip to main content
FlowDrop uses CSS custom properties with a --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 on data-theme:
Or programmatically:
All semantic tokens have dark-mode equivalents that activate automatically. The accent HSL knobs adjust luminance in dark mode — --fd-accent-low becomes darker and --fd-accent-high becomes lighter.

Next steps