diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 93c24513..32364730 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -97,9 +97,6 @@ importers: '@fontsource/ibm-plex-mono': specifier: ^5.0.13 version: 5.0.13 - '@fontsource/noto-sans-mono': - specifier: ^5.2.7 - version: 5.2.7 '@fontsource/redaction-10': specifier: ^5.0.2 version: 5.0.2 @@ -534,9 +531,6 @@ packages: '@fontsource/ibm-plex-mono@5.0.13': resolution: {integrity: sha512-gtlMmvk//2AgDEZDFsoL5z9mgW3ZZg/9SC7pIfDwNKp5DtZpApgqd1Fua3HhPwYRIHrT76IQ1tMTzQKLEGtJGQ==} - '@fontsource/noto-sans-mono@5.2.7': - resolution: {integrity: sha512-kw+z21ZEjOzsUS49FVLsR/WwJ7LnXrlam5SzNGY6uSSF4gfzYm2CBzcS0Y5YqQCrtDZ4S6PpaAGRMzQ/MAZaXA==} - '@fontsource/redaction-10@5.0.2': resolution: {integrity: sha512-PODxYvb06YrNxdUBGcygiMibpgcZihzmvkmlX/TQAA2F7BUU/anfSKQi/VnLdJ/8LIK81/bUY+i7L/GP27FkVw==} @@ -2406,8 +2400,6 @@ snapshots: '@fontsource/ibm-plex-mono@5.0.13': {} - '@fontsource/noto-sans-mono@5.2.7': {} - '@fontsource/redaction-10@5.0.2': {} '@humanfs/core@0.19.1': {} diff --git a/web/package.json b/web/package.json index 0f28447b..27d37633 100644 --- a/web/package.json +++ b/web/package.json @@ -26,7 +26,6 @@ "devDependencies": { "@eslint/js": "^9.5.0", "@fontsource/ibm-plex-mono": "^5.0.13", - "@fontsource/noto-sans-mono": "^5.2.7", "@fontsource/redaction-10": "^5.0.2", "@imput/libav.js-encode-cli": "6.7.7", "@imput/libav.js-remux-cli": "^6.5.7", diff --git a/web/src/app.css b/web/src/app.css index f909a6c7..663ba800 100644 --- a/web/src/app.css +++ b/web/src/app.css @@ -188,7 +188,7 @@ body { } * { - font-family: "IBM Plex Mono", "Noto Sans Mono", monospace; + font-family: "IBM Plex Mono", monospace; user-select: none; scrollbar-width: none; -webkit-user-select: none; diff --git a/web/src/fonts/noto-mono-cobalt.css b/web/src/fonts/noto-mono-cobalt.css new file mode 100644 index 00000000..ffebf834 --- /dev/null +++ b/web/src/fonts/noto-mono-cobalt.css @@ -0,0 +1,7 @@ +@font-face { + font-family: "Noto Sans Mono"; + font-style: normal; + font-display: swap; + font-weight: 400; + src: url(/fonts/noto-mono-cobalt.woff2) format("woff2"); +} diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index 4a782d11..47fbd5e7 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -1,12 +1,11 @@ @@ -97,8 +96,8 @@ data-theme={browser ? $currentTheme : undefined} lang={$locale} > - {#if preloadMeowbalt} - + {#if preloadAssets} + {/if}
diff --git a/web/static/fonts/noto-mono-cobalt.woff2 b/web/static/fonts/noto-mono-cobalt.woff2 new file mode 100644 index 00000000..49841428 Binary files /dev/null and b/web/static/fonts/noto-mono-cobalt.woff2 differ