IAdaptiveThemeSettings

Type interface

Options for {@link AdaptiveTheme}.

Inheritance

IAdaptiveThemeSettings does not extend any other symbol.

IAdaptiveThemeSettings is not extended by any other symbol.

Properties

baseColor
#

Type number | string | Color

Primary base color. The generated palette and (in dark mode) the interface colors are derived from it. Accepts a hex number, a CSS string, or a Color.

If omitted, the theme defaults to a green-to-yellow gradient (#4b8e39 first, #ffdd00 last).

baseColor2
#

Type number | string | Color

Optional second base color. When provided, the palette spans the two colors (perceptually interpolated in OKLCH) instead of fanning out from a single hue.

count
#

Type undefined | number

Default 10

Number of series colors to generate.

dark
#

Type undefined | false | true

Default false

Produce a dark variant: a faintly base-tinted dark background and matching interface colors.