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

Merge pull request #47 from b3u/b3u/45

expose mono font as variable
This commit is contained in:
Jenil Gogari 2020-02-26 12:50:58 -05:00 committed by GitHub
commit 432b1e090a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 7 deletions

7
dist/chota.css vendored
View File

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