@sandlada/material-token-generator
Version:
Use the @material/material-color-utilities tool to create a set of tokens based on material design.
15 lines (14 loc) • 636 B
TypeScript
import { DynamicScheme, Hct } from '@material/material-color-utilities';
import { type TMaterialContrastLevel } from '../color/material-contrast-level';
import { type TMaterialVariant } from '../color/material-variant';
import { MaterialDynamicPalettes } from './material-dynamic-palettes';
export declare class MaterialPalettes extends MaterialDynamicPalettes {
constructor(sourceColorHct: Hct, options?: Partial<{
isDark: boolean;
contrastLevel: TMaterialContrastLevel;
variant: TMaterialVariant;
prefix: string;
levels: Array<number>;
}>);
protected get scheme(): DynamicScheme;
}