forked from Mirrors/elk
perf: remove unused fonts
This commit is contained in:
parent
cce467a54a
commit
da2f19fb23
2 changed files with 2 additions and 18 deletions
|
@ -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 {
|
||||
|
|
|
@ -80,8 +80,6 @@ export default defineConfig({
|
|||
presetWebFonts({
|
||||
provider: 'none',
|
||||
fonts: {
|
||||
serif: 'DM Serif Display',
|
||||
mono: 'DM Mono',
|
||||
script: 'Homemade Apple',
|
||||
},
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue