summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/fonts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-04-14 18:17:14 +0200
committerMaze Winther <mazewinther@gmail.com>2026-04-14 18:17:14 +0200
commit6de6c7fd95de1de9d8d3107eaf7ce1dd150ed094 (patch)
tree75d5eb387b867449fc2218f5fe9b3acc70731561 /apps/web/src/lib/fonts
parent34c67ef8e85eafd6dfe6808280c807aceb00a345 (diff)
downloadopencut-6de6c7fd95de1de9d8d3107eaf7ce1dd150ed094.tar.gz
refactor: move constants to domain modules
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",
+]);