IMonochromeThemeSettings
Type interface
Options for MonochromeTheme.
Sources
IMonochromeThemeSettings is an interface: it describes a shape of data and is not imported on its own.
Properties
accentType
number|string|ColorA color put before the ramp, so that the first series stands out. Accepts a hex number, a CSS string or a
Color. With more series than colors, the colors repeat, accent included.colorType
number|string|ColorColor whose hue the series ramp is made of, as a hex number, a CSS string or a
Color. It also colors the primary buttons. If not set, a blue#2e7c9eis used.countType
undefined|numberDefault7Number of shades in the series ramp.
darkType
undefined|false|trueDefaultfalseMakes a dark theme: dark interface colors, and a ramp from light to mid shades that shows on the dark background.
interleaveType
undefined|false|trueDefaultfalseTakes the shades in an alternating order (1, 4, 2, 5, 3, 6), so series next to each other differ more. The
accentstays first.keepContrastType
boolean|numberDefaultfalseKeeps the shades, the
accentand the primary buttons at a minimum contrast against the background:truefor 3:1, or a ratio, e.g.4.5.The end of the ramp nearest the background moves away from it, and the other shades spread out evenly up to it.
mapShadeType
undefined|false|trueDefaultfalseFills map polygons with a mid shade of
color, as light as a map's default land, instead ofcoloritself.repeatLightnessType
boolean|numberDefault0.1Once every color has been used, each new round of colors is this much lighter (HSL lightness:
0.1is 10%; a negative value makes it darker) instead of the same colors again.trueis0.1;falseor0repeats the colors as they are.