Set a font family for code comments.

This commit is contained in:
Foster Hangdaan 2023-12-03 18:31:25 -05:00
parent e891150835
commit 77c25a8170
Signed by: foster
GPG key ID: E48D7F49A852F112
2 changed files with 4 additions and 0 deletions

View file

@ -140,6 +140,9 @@ pre {
padding: 0;
border-radius: 0;
background-color: transparent;
.hljs-comment {
font-family: var(--font--mono--code-comments);
}
}
}

View file

@ -28,4 +28,5 @@ :root {
--font--sans-serif: "Mona 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--code-comments: "Monaspace Radon", monospace;
}