Skip to Content

ColorMode

The ColorMode type is the resolved color theme of a flow: light or dark. (The forceColorMode prop additionally accepts 'system' to follow the OS preference, which resolves to one of these.)

Type

type ColorMode = 'light' | 'dark';
Last updated on