@rxap/ngx-theme
Version:
This package provides an Angular theme service that allows you to manage and customize the look and feel of your application. It includes features such as dark mode support, theme density control, typography settings, and color palette management. The ser
23 lines (22 loc) • 582 B
TypeScript
import { ColorInput } from '@ctrl/tinycolor';
export interface ColorPalette {
50: string;
100: string;
200: string;
300: string;
400: string;
500: string;
600: string;
700: string;
800: string;
900: string;
A100: string;
A200: string;
A400: string;
A700: string;
}
export declare enum ColorPaletteAlgorithm {
CONSTANTIN = "constantin",
BUCKNER = "buckner"
}
export declare function ComputeColorPalette(color: ColorInput, colorPalette?: Partial<ColorPalette>, algorithm?: ColorPaletteAlgorithm | string): ColorPalette;