@amcharts/amcharts5
Version:
amCharts 5
18 lines • 835 B
TypeScript
import { Color } from "../core/util/Color";
import type { IInterfaceColorsSettings } from "../core/util/InterfaceColors";
/**
* A neutral dark set of interface colors, shared by every dark palette variant
* so they differ only by their series palette.
*/
export declare function darkInterfaceColors(): Partial<IInterfaceColorsSettings>;
/**
* Raises the lightness of any color darker than `minL` (OKLCH lightness, 0..1)
* up to `minL`, holding hue and chroma, so it reads on a dark ground. Colors at
* or above `minL` are returned unchanged.
*
* @param colors Source palette
* @param minL Minimum OKLCH lightness (default 0.52)
* @return Adjusted palette
*/
export declare function liftDarkColors(colors: Array<Color>, minL?: number): Array<Color>;
//# sourceMappingURL=DarkVariant.d.ts.map