1
0
mirror of https://github.com/jenil/chota.git synced 2023-08-10 21:13:07 +03:00

expose mono font as variable

This commit is contained in:
Binyamin Green 2020-02-25 16:01:41 -05:00
parent 7fe49e6610
commit 166f9b5c68
3 changed files with 9 additions and 7 deletions

7
dist/chota.css vendored
View File

@ -9,9 +9,10 @@
--grid-maxWidth: 120rem;
--grid-gutter: 2rem;
--font-size: 1.6rem;
--font-family: -apple-system, BlinkMacSystemFont, Avenir, "Avenir Next",
--font-family-sans: -apple-system, BlinkMacSystemFont, Avenir, "Avenir Next",
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
--font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
}
* {
-webkit-box-sizing: border-box;
@ -27,7 +28,7 @@ body {
line-height: 1.6;
font-size: var(--font-size);
font-family: "Segoe UI", "Helvetica Neue", sans-serif; /*fallback*/
font-family: var(--font-family);
font-family: var(--font-family-sans);
margin: 0;
padding: 0;
}
@ -111,7 +112,7 @@ kbd,
pre,
samp,
tt {
font-family: monaco, "Consolas", "Lucida Console", monospace;
font-family: var(--font-family-mono);
}
code,
kbd {

2
dist/chota.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -8,9 +8,10 @@
--grid-maxWidth: 120rem;
--grid-gutter: 2rem;
--font-size: 1.6rem;
--font-family: -apple-system, BlinkMacSystemFont, Avenir, "Avenir Next",
--font-family-sans: -apple-system, BlinkMacSystemFont, Avenir, "Avenir Next",
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
--font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
}
* {
@ -28,7 +29,7 @@ body {
line-height: 1.6;
font-size: var(--font-size);
font-family: "Segoe UI", "Helvetica Neue", sans-serif; /*fallback*/
font-family: var(--font-family);
font-family: var(--font-family-sans);
margin: 0;
padding: 0;
}
@ -132,7 +133,7 @@ kbd,
pre,
samp,
tt {
font-family: monaco, "Consolas", "Lucida Console", monospace;
font-family: var(--font-family-mono);
}
code,