perf: remove unused fonts

This commit is contained in:
Anthony Fu 2023-01-18 15:39:23 +01:00
parent cce467a54a
commit da2f19fb23
2 changed files with 2 additions and 18 deletions

View file

@ -4,20 +4,6 @@ html {
width: 100vw; width: 100vw;
} }
@font-face {
font-display: swap;
font-family: 'DM Mono';
font-style: normal;
font-weight: 400;
src: url(/fonts/DM-mono-v10.ttf) format('truetype');
}
@font-face {
font-display: swap;
font-family: 'DM Serif Display';
font-style: normal;
font-weight: 400;
src: url(/fonts/DM-serif-display-v10.ttf) format('truetype');
}
@font-face { @font-face {
font-display: swap; font-display: swap;
font-family: 'Homemade Apple'; font-family: 'Homemade Apple';
@ -153,7 +139,7 @@ em-emoji-picker {
--at-apply: pl-2; --at-apply: pl-2;
} }
.code-block { .code-block {
--at-apply: font-mono bg-code text-0.875em p3 mt-2 rounded overflow-auto --at-apply: bg-code text-0.875em p3 mt-2 rounded overflow-auto
leading-1.6em; leading-1.6em;
.shiki { .shiki {

View file

@ -80,8 +80,6 @@ export default defineConfig({
presetWebFonts({ presetWebFonts({
provider: 'none', provider: 'none',
fonts: { fonts: {
serif: 'DM Serif Display',
mono: 'DM Mono',
script: 'Homemade Apple', script: 'Homemade Apple',
}, },
}), }),