Skip to content

Theemo / @theemo/theme / ColorSchemeFeature

Interface: ColorSchemeFeature

Defined in: features.ts:107

Color Scheme Feature

The first value in options is also the default

See

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

Extends

  • Omit<BaseFeature, "options" | "defaultOption">

Properties

browserFeature

ts
browserFeature: "color-scheme";

Defined in: features.ts:112

Overrides

ts
Omit.browserFeature

name

ts
name: string;

Defined in: features.ts:87

name of the feature

Inherited from

ts
Omit.name

options

ts
options: ColorScheme[];

Defined in: features.ts:111

Color scheme options. The first will be the default