commit
fonts
diff --git a/src/styles/fonts.css.ts b/src/styles/fonts.css.ts
index 772f008..6c65ab0 100644
--- a/src/styles/fonts.css.ts
+++ b/src/styles/fonts.css.ts
@@ -15,6 +15,20 @@ const COMIC_CODE = [
{ file: "ComicCode-Bold", weight: 700, style: "normal" },
] as const;
+const MAPLE_MONO = [
+ { file: "MapleMono-Regular", weight: 400 },
+ { file: "MapleMono-Bold", weight: 700 },
+] as const;
+
+for (const { file, weight } of MAPLE_MONO) {
+ globalFontFace("Maple Mono", {
+ src: `url('${CDN}/Maple-Mono/Normal/woff2/${file}.woff2') format('woff2')`,
+ fontWeight: weight,
+ fontStyle: "normal",
+ fontDisplay: "swap",
+ });
+}
+
globalFontFace("Ink Free", {
src: `url('${CDN}/Ink-Free/Inkfree.woff2') format('woff2')`,
fontWeight: 400,
diff --git a/src/styles/theme.css.ts b/src/styles/theme.css.ts
index cb13c78..a2b34a0 100644
--- a/src/styles/theme.css.ts
+++ b/src/styles/theme.css.ts
@@ -56,7 +56,7 @@ createGlobalTheme(":root", vars, {
font: "'Comic Code', system-ui, -apple-system, sans-serif",
display: "'Ink Free', 'Comic Code', system-ui, -apple-system, sans-serif",
- mono: "ui-monospace, SFMono-Regular, Menlo, monospace",
+ mono: "'Maple Mono', ui-monospace, SFMono-Regular, Menlo, monospace",
radius: "0",
});