@dvcol/neo-svelte
Version:
Neomorphic ui library for svelte 5
19 lines (18 loc) • 688 B
TypeScript
export declare const Colors: {
readonly Primary: "primary";
readonly Secondary: "secondary";
readonly Success: "success";
readonly Warning: "warning";
readonly Error: "error";
readonly Default: "default";
};
export type Color = (typeof Colors)[keyof typeof Colors];
export declare const ColorVariables: {
readonly primary: "--neo-color-primary";
readonly secondary: "--neo-color-secondary";
readonly success: "--neo-color-success";
readonly warning: "--neo-color-warning";
readonly error: "--neo-color-error";
readonly default: "--neo-color-default";
};
export declare function getColorVariable(color?: Color | string): string | undefined;