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