import { Color } from "../core/util/Color"; import { Theme } from "../core/Theme"; import type { Root } from "../core/Root"; /** * Options for {@link MonochromeTheme}. */ export interface IMonochromeThemeSettings { /** * Color 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 * `#2e7c9e` is used. */ color?: number | string | Color; /** * A 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. */ accent?: number | string | Color; /** * Makes a dark theme: dark interface colors, and a ramp from light to mid * shades that shows on the dark background. * * @default false */ dark?: boolean; /** * Number of shades in the series ramp. * * @default 7 */ count?: number; /** * Takes the shades in an alternating order (1, 4, 2, 5, 3, 6), so series * next to each other differ more. The `accent` stays first. * * @default false */ interleave?: boolean; /** * Fills map polygons with a mid shade of `color`, as light as a map's * default land, instead of `color` itself. * * @default false */ mapShade?: boolean; /** * Keeps the shades, the `accent` and the primary buttons at a minimum * contrast against the background: `true` for 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. * * @default false */ keepContrast?: boolean | number; } /** * "Monochrome": a single-hue theme. Its series colors are an even ramp of * shades of one color, from lighter to darker, with an optional `accent` * first. * * It is a function rather than a class, so that it can take settings: * * ```TypeScript * root.setThemes([ * am5themes_Monochrome(root, { color: 0x2c6e91, dark: true }) * ]); * ``` * * With nothing set, the ramp is blue (`#2e7c9e`). * * @see {@link https://www.amcharts.com/docs/v5/concepts/themes/} for more info * @important */ export declare function MonochromeTheme(root: Root, settings?: IMonochromeThemeSettings): Theme; export declare namespace MonochromeTheme { var _a: (root: Root, settings?: IMonochromeThemeSettings) => Theme; export { _a as new }; } //# sourceMappingURL=MonochromeTheme.d.ts.map