diff --git a/styles/global.css b/styles/global.css index e8e00c47..2e2686a0 100644 --- a/styles/global.css +++ b/styles/global.css @@ -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 { @@ -275,4 +261,4 @@ allows controlling them individually [data-mode="grayscale"] img:hover, [data-mode="grayscale"] video:hover { filter: grayscale(0); -} \ No newline at end of file +} diff --git a/unocss.config.ts b/unocss.config.ts index 9c41e15c..4771f726 100644 --- a/unocss.config.ts +++ b/unocss.config.ts @@ -80,8 +80,6 @@ export default defineConfig({ presetWebFonts({ provider: 'none', fonts: { - serif: 'DM Serif Display', - mono: 'DM Mono', script: 'Homemade Apple', }, }),