summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/lib/fonts')
-rw-r--r--apps/web/src/lib/fonts/google-fonts.ts2
-rw-r--r--apps/web/src/lib/fonts/system-fonts.ts11
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",
+]);