1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-23 22:56:09 +09:00

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;
}
@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-display: swap;
font-family: 'Homemade Apple';
@ -153,7 +139,7 @@ em-emoji-picker {
--at-apply: pl-2;
}
.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;
.shiki {

View File

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