common.ts

 1export const fontFamilies = {
 2    sans: "Zed Sans",
 3    mono: "Zed Mono",
 4}
 5
 6export const fontSizes = {
 7    "3xs": 8,
 8    "2xs": 10,
 9    xs: 12,
10    sm: 14,
11    md: 16,
12    lg: 18,
13    xl: 20,
14}
15
16export type FontWeight =
17    | "thin"
18    | "extra_light"
19    | "light"
20    | "normal"
21    | "medium"
22    | "semibold"
23    | "bold"
24    | "extra_bold"
25    | "black"
26export const fontWeights: { [key: string]: FontWeight } = {
27    thin: "thin",
28    extra_light: "extra_light",
29    light: "light",
30    normal: "normal",
31    medium: "medium",
32    semibold: "semibold",
33    bold: "bold",
34    extra_bold: "extra_bold",
35    black: "black",
36}
37
38export const sizes = {
39    px: 1,
40    xs: 2,
41    sm: 4,
42    md: 6,
43    lg: 8,
44    xl: 12,
45}