Skip to Content
Svelte Flow 2 is out! Read the announcement →

ColorMode

The color mode type specifies if the current color mode is light, dark or uses system.

export type ColorMode = 'light' | 'dark' | 'system';