@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
52 lines • 1.69 kB
TypeScript
/**
* Copyright (c) ACT, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { PaletteOptions } from '@mui/material/styles';
export declare const COLOR_PALETTE: {
colorHEX: string;
colorName: string;
}[];
export declare const utilityError: Record<import("./helpers").ColorIndex, string>;
export declare const utilityInfo: Record<import("./helpers").ColorIndex, string>;
export declare const utilitySuccess: Record<import("./helpers").ColorIndex, string>;
export declare const utilityWarning: Record<import("./helpers").ColorIndex, string>;
export declare const paletteColors: Record<string, Record<import("./helpers").ColorIndex, string>>;
export declare const almostBlack = "#2d3032";
interface IOverColor {
disabled: string;
high: string;
medium: string;
}
export type CustomPaletteOptions = PaletteOptions & {
action: {
activeHover: string;
};
background: PaletteOptions['background'] & {
scrim: string;
};
branding: typeof paletteColors;
progress: {
failure: string;
idle: string;
interrupted: string;
success: string;
};
text: PaletteOptions['text'] & {
overDark: IOverColor;
overLight: IOverColor;
};
utility: {
error: Record<number, string>;
info: Record<number, string>;
restingState: string;
success: Record<number, string>;
warning: Record<number, string>;
white: string;
};
};
export declare const palette: CustomPaletteOptions;
export default palette;
//# sourceMappingURL=palette.d.ts.map