feat: use fusion pixel font, drop comic sans/mono

This commit is contained in:
dusk 2025-02-22 15:51:34 +03:00
parent 8025764dfe
commit 5d6a9d58b0
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw
8 changed files with 7 additions and 45 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -40,7 +40,8 @@
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@fontsource/comic-mono": "^5.1.0", "@fontsource/fusion-pixel-10px-monospaced-sc": "^5.0.1",
"@fontsource/fusion-pixel-10px-proportional-sc": "^5.0.1",
"@neodrag/svelte": "^2.3.1", "@neodrag/svelte": "^2.3.1",
"@skyware/bot": "^0.3.8", "@skyware/bot": "^0.3.8",
"@std/toml": "npm:@jsr/std__toml", "@std/toml": "npm:@jsr/std__toml",

View File

@ -2,7 +2,8 @@
import getTitle from '$lib/getTitle'; import getTitle from '$lib/getTitle';
import NavButton from '../components/navButton.svelte'; import NavButton from '../components/navButton.svelte';
import Tooltip from '../components/tooltip.svelte'; import Tooltip from '../components/tooltip.svelte';
import "@fontsource/comic-mono"; import '@fontsource/fusion-pixel-10px-monospaced-sc';
import '@fontsource/fusion-pixel-10px-proportional-sc';
import '../styles/app.css'; import '../styles/app.css';
interface Props { interface Props {

View File

@ -46,10 +46,6 @@
text-shadow: 0 0 3px theme(colors.ralsei.black), 0 0 6px theme(colors.ralsei.pink.neon), 0 0 10px #fff3; text-shadow: 0 0 3px theme(colors.ralsei.black), 0 0 6px theme(colors.ralsei.pink.neon), 0 0 10px #fff3;
} }
li,p,summary,.text-shadow-white {
text-shadow: 0 0 1px theme(colors.ralsei.black), 0 0 5px theme(colors.ralsei.white);
}
.text-shadow-red { .text-shadow-red {
text-shadow: 0 0 1px theme(colors.ralsei.black), 0 0 5px theme(colors.red.600); text-shadow: 0 0 1px theme(colors.ralsei.black), 0 0 5px theme(colors.red.600);
} }
@ -59,19 +55,7 @@
} }
.prose ul, ul { .prose ul, ul {
list-style-type: '-- '; list-style-type: '>>';
}
li::marker {
text-shadow: 0 0 4px theme(colors.ralsei.pink.regular), 0 0 6px #fff9;
}
code {
text-shadow: 0 0 4px theme(colors.ralsei.pink.regular);
}
.prose code, .prose pre {
@apply text-sm;
} }
.text-shadow-green { .text-shadow-green {
@ -83,30 +67,6 @@
cursor: url('/icons/gaze.webp'), pointer; cursor: url('/icons/gaze.webp'), pointer;
} }
@font-face {
font-family: 'Comic Sans';
src: local('Comic Sans MS'), url('/fonts/subset-ComicSansMS-Italic.woff2') format('woff2');
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Comic Sans';
src: local('Comic Sans MS'), url('/fonts/subset-ComicSansMS.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Comic Sans';
src: local('Comic Sans MS'), url('/fonts/subset-ComicSansMS-Bold.woff2') format('woff2');
font-weight: bold;
font-style: normal;
font-display: swap;
}
.animate-squiggle { .animate-squiggle {
animation: squigglevision 0.3s infinite; animation: squigglevision 0.3s infinite;
} }

View File

@ -49,8 +49,8 @@ export default {
} }
}, },
fontFamily: { fontFamily: {
'sans-serif': ['"Comic Sans", sans-serif'], 'sans-serif': ['"Fusion Pixel 10px Proportional SC", sans-serif'],
monospace: ['"Comic Mono", monospace'], monospace: ['"Fusion Pixel 10px Monospaced SC", monospace'],
} }
}, },
plugins: [ plugins: [