diff --git a/src/components/misc/Markdown.astro b/src/components/misc/Markdown.astro index a569330..45519a9 100644 --- a/src/components/misc/Markdown.astro +++ b/src/components/misc/Markdown.astro @@ -1,5 +1,7 @@ --- +import '@fontsource-variable/jetbrains-mono'; import '@fontsource-variable/jetbrains-mono/wght-italic.css'; + interface Props { class: string; } @@ -53,7 +55,7 @@ const className = Astro.props.class; /*&:after*/ /* background: var(--link-active)*/ code - font-family: JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace + font-family: 'JetBrains Mono Variable',ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace background: var(--inline-code-bg) color: var(--inline-code-color) padding: 0.125rem 0.25rem