Skip to Content
Vue Flow v2 is here and joins xyflow! Read more here →

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';