@volvo-cars/css
Version:
Volvo Cars shared CSS
32 lines (30 loc) • 760 B
TypeScript
type Library = 'edls';
interface DesignToken {
css: string;
type: 'font' | 'color' | 'index' | 'radius' | 'size' | 'space' | 'transition';
category?: string;
variant?: string;
scale?: string;
property?: string;
modifier?: string;
meta: Record<string, string | boolean | undefined>;
value?: string | string[];
library?: Library;
}
interface ClassMeta {
name: string;
declarations: string[];
prefixes: string[];
layer: string;
library?: Library;
}
declare const meta: {
classNames: string[];
classes: ClassMeta[];
tokens: DesignToken[];
customMedia: {
name: string;
value: string;
}[];
};
export { type ClassMeta, type DesignToken, type Library, meta as default };