UNPKG

tailwind-compositor

Version:

Compositor is a system of constraints designed to produce aesthetically pleasing, typographic compositions, based on objective, constant dimensions of space.

14 lines (13 loc) 338 B
declare type FontKitMetrics = { familyName: string; upm: number; xHeight: number; capHeight: number; lineGap: number; ascent: number; descent: number; weight: number; italic: boolean; }; export declare const getFontMetrics: (file: string) => FontKitMetrics; export default getFontMetrics;