mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
10a30cf330
In the system color PR I updated the prettier config to match what we use on zed.dev. I didn't want to format all of styles as it would add a lot of unrelated line changes to that PR. Doing that format now.
45 lines
724 B
TypeScript
45 lines
724 B
TypeScript
export const fontFamilies = {
|
|
sans: "Zed Sans",
|
|
mono: "Zed Mono",
|
|
}
|
|
|
|
export const fontSizes = {
|
|
"3xs": 8,
|
|
"2xs": 10,
|
|
xs: 12,
|
|
sm: 14,
|
|
md: 16,
|
|
lg: 18,
|
|
xl: 20,
|
|
}
|
|
|
|
export type FontWeight =
|
|
| "thin"
|
|
| "extra_light"
|
|
| "light"
|
|
| "normal"
|
|
| "medium"
|
|
| "semibold"
|
|
| "bold"
|
|
| "extra_bold"
|
|
| "black"
|
|
export const fontWeights: { [key: string]: FontWeight } = {
|
|
thin: "thin",
|
|
extra_light: "extra_light",
|
|
light: "light",
|
|
normal: "normal",
|
|
medium: "medium",
|
|
semibold: "semibold",
|
|
bold: "bold",
|
|
extra_bold: "extra_bold",
|
|
black: "black",
|
|
}
|
|
|
|
export const sizes = {
|
|
px: 1,
|
|
xs: 2,
|
|
sm: 4,
|
|
md: 6,
|
|
lg: 8,
|
|
xl: 12,
|
|
}
|