Set a font family for code comments.
This commit is contained in:
parent
e891150835
commit
77c25a8170
2 changed files with 4 additions and 0 deletions
|
@ -140,6 +140,9 @@ pre {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
.hljs-comment {
|
||||||
|
font-family: var(--font--mono--code-comments);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,4 +28,5 @@ :root {
|
||||||
--font--sans-serif: "Mona Sans", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
|
--font--sans-serif: "Mona Sans", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
|
||||||
--font--sans-serif-alt: "Hubot Sans", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
|
--font--sans-serif-alt: "Hubot Sans", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
|
||||||
--font--mono: "Monaspace Neon", monospace;
|
--font--mono: "Monaspace Neon", monospace;
|
||||||
|
--font--mono--code-comments: "Monaspace Radon", monospace;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue