diff options
Diffstat (limited to 'apps/web/src/lib/fonts')
| -rw-r--r-- | apps/web/src/lib/fonts/google-fonts.ts | 2 | ||||
| -rw-r--r-- | apps/web/src/lib/fonts/system-fonts.ts | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/apps/web/src/lib/fonts/google-fonts.ts b/apps/web/src/lib/fonts/google-fonts.ts index 580ce406..8ac55a08 100644 --- a/apps/web/src/lib/fonts/google-fonts.ts +++ b/apps/web/src/lib/fonts/google-fonts.ts @@ -1,5 +1,5 @@ import type { FontAtlas } from "@/lib/fonts/types"; -import { SYSTEM_FONTS } from "@/constants/font-constants"; +import { SYSTEM_FONTS } from "@/lib/fonts/system-fonts"; const GOOGLE_FONTS_CSS = "https://fonts.googleapis.com/css2"; const FONT_ATLAS_PATH = "/fonts/font-atlas.json"; diff --git a/apps/web/src/lib/fonts/system-fonts.ts b/apps/web/src/lib/fonts/system-fonts.ts new file mode 100644 index 00000000..9cc363a3 --- /dev/null +++ b/apps/web/src/lib/fonts/system-fonts.ts @@ -0,0 +1,11 @@ +export const SYSTEM_FONTS = new Set([ + "Arial", + "Helvetica", + "Times New Roman", + "Courier New", + "Verdana", + "Georgia", + "monospace", + "sans-serif", + "serif", +]); |
