switch monospace to maple mono
This commit is contained in:
@@ -9,6 +9,6 @@
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'JetBrainsMono';
|
||||
src: url('./fonts/JetBrainsMono-VariableFont_wght.ttf') format('truetype');
|
||||
font-family: 'Maple Mono';
|
||||
src: url('./fonts/MapleMono-VariableFont_wdth,wght.ttf') format('truetype');
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -11,6 +11,7 @@
|
||||
--background: #fffdf5;
|
||||
--border: #{$border-style} #8f7a20;
|
||||
--font: 'Noto Sans', sans-serif;
|
||||
--mono-font: 'Maple Mono', monospace;
|
||||
}
|
||||
|
||||
.theme-dark {
|
||||
@@ -99,6 +100,7 @@ kbd {
|
||||
|
||||
code,
|
||||
kbd {
|
||||
font-family: var(--mono-font);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
@@ -128,6 +130,7 @@ kbd {
|
||||
.astro-code span {
|
||||
background-color: var(--background) !important;
|
||||
/* Optional, if you also want font styles */
|
||||
font-family: var(--mono-font);
|
||||
font-style: var(--shiki-light-font-style);
|
||||
font-weight: var(--shiki-light-font-weight);
|
||||
text-decoration: var(--shiki-light-text-decoration);
|
||||
|
||||
Reference in New Issue
Block a user