mirror of
https://github.com/kognise/water.css.git
synced 2025-08-12 08:04:13 +02:00
Add monospace system font stack
Let's add a system font stack for monospace fonts to give monospace elements a pleasing default font. This monospace font stack is based on GitHub's Primer design system [1]. [1]: https://github.com/primer/css/blob/main/src/support/variables/typography.scss#L39
This commit is contained in:
5
.changeset/friendly-meals-cheat.md
Normal file
5
.changeset/friendly-meals-cheat.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"water.css": minor
|
||||
---
|
||||
|
||||
Add monospace system font stack
|
@@ -8,6 +8,13 @@ time {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
samp,
|
||||
kbd {
|
||||
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
padding: 10px;
|
||||
display: block;
|
||||
|
Reference in New Issue
Block a user