fix: font importing

This commit is contained in:
HorizonCode committed 2026-05-21 23:12:41 +02:00
1 parent ec80b13de3
commit 44ad025d3d
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@
"name": "ezpplauncher", "name": "ezpplauncher",
"dependencies": { "dependencies": {
"@better-fetch/fetch": "^1.1.21", "@better-fetch/fetch": "^1.1.21",
"@fontsource/sora": "^5.2.8", "@fontsource-variable/sora": "^5.2.8",
"@fontsource/space-mono": "^5.2.9", "@fontsource/space-mono": "^5.2.9",
"@number-flow/svelte": "^0.4.0", "@number-flow/svelte": "^0.4.0",
"@tailwindcss/typography": "^0.5.19", "@tailwindcss/typography": "^0.5.19",
@@ -104,7 +104,7 @@
"@floating-ui/utils": ["@floating-ui/[email protected]", "", {}, "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg=="], "@floating-ui/utils": ["@floating-ui/[email protected]", "", {}, "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg=="],
"@fontsource/sora": ["@fontsource/[email protected]", "", {}, "sha512-1G6iTXUx8rcCKzi3mjaTQ1DE8PQz0OmW3Qnku+64S+bqRr1o/gGeiw8fxIQhhBU9ZP8ZofIqai7o00DNOPnlDw=="], "@fontsource-variable/sora": ["@fontsource-variable/[email protected]", "", {}, "sha512-sP+ILTfi5r3cqmMBntI4ooQNxFI+LyHyD5hcPbWwwL4uh4kKFAkOz0w2veCXjz18fKRdva6OG0dY+5yQ02f30w=="],
"@fontsource/space-mono": ["@fontsource/[email protected]", "", {}, "sha512-b61faFOHEISQ/pD25G+cfGY9o/WW6lRv6hBQQfpWvEJ4y1V+S4gmth95EVyBE2VL3qDYHeVQ8nBzrplzdXTDDg=="], "@fontsource/space-mono": ["@fontsource/[email protected]", "", {}, "sha512-b61faFOHEISQ/pD25G+cfGY9o/WW6lRv6hBQQfpWvEJ4y1V+S4gmth95EVyBE2VL3qDYHeVQ8nBzrplzdXTDDg=="],
+1 -1
View File
@@ -19,7 +19,7 @@
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"dependencies": { "dependencies": {
"@better-fetch/fetch": "^1.1.21", "@better-fetch/fetch": "^1.1.21",
"@fontsource/sora": "^5.2.8", "@fontsource-variable/sora": "^5.2.8",
"@fontsource/space-mono": "^5.2.9", "@fontsource/space-mono": "^5.2.9",
"@number-flow/svelte": "^0.4.0", "@number-flow/svelte": "^0.4.0",
"@tailwindcss/typography": "^0.5.19", "@tailwindcss/typography": "^0.5.19",
+4 -1
View File
@@ -4,6 +4,9 @@
@custom-variant dark (&:where(.dark, .dark *)); @custom-variant dark (&:where(.dark, .dark *));
@import "@fontsource-variable/sora";
@import "@fontsource/space-mono";
:root { :root {
--radius: 0.625rem; --radius: 0.625rem;
--background: oklch(95.36% 0.017 256.57); --background: oklch(95.36% 0.017 256.57);
@@ -41,7 +44,7 @@
--sidebar-ring: oklch(60.7% 0.226 299.68); --sidebar-ring: oklch(60.7% 0.226 299.68);
--font-sans: --font-sans:
"Sora", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Sora Variable", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji"; "Segoe UI Symbol", "Noto Color Emoji";
--font-mono: --font-mono:
"Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
-3
View File
@@ -35,9 +35,6 @@
import Button from '@/components/ui/button/button.svelte'; import Button from '@/components/ui/button/button.svelte';
import * as presence from '@/presence'; import * as presence from '@/presence';
import { fade } from 'svelte/transition'; import { fade } from 'svelte/transition';
import '@fontsource/sora';
import '@fontsource/space-mono';
import { getDownloadableThemes, getThemes, loadTheme } from '@/themes'; import { getDownloadableThemes, getThemes, loadTheme } from '@/themes';
import { sileo } from 'sileo'; import { sileo } from 'sileo';
import AnimatedBg from '@/components/ui/animated-bg/AnimatedBg.svelte'; import AnimatedBg from '@/components/ui/animated-bg/AnimatedBg.svelte';