tailwind-compositor
Version:
Compositor is a system of constraints designed to produce aesthetically pleasing, typographic compositions, based on objective, constant dimensions of space.
29 lines (28 loc) • 697 B
TypeScript
export declare const root = 16;
export declare const baseline = 8;
export declare const leading = 4;
export declare const matrix = 12;
export declare const type: number[];
export declare const rhythm: number[];
export declare const measure: number[];
export declare const fonts: {
key: string;
fallback: string;
familyName: string;
upm: number;
xHeight: number;
capHeight: number;
ascent: number;
descent: number;
weight: number;
italic: boolean;
}[];
export declare const options: {
snap: boolean;
useRem: boolean;
type: boolean;
rhythm: boolean;
measure: boolean;
matrix: boolean;
xray: boolean;
};