♻️ refactor: set font types as variables
This commit is contained in:
parent
f4cd6e6a92
commit
d6c198e379
@ -39,11 +39,14 @@
|
|||||||
--normal-layout-width: 600px;
|
--normal-layout-width: 600px;
|
||||||
--medium-layout-width: 350px;
|
--medium-layout-width: 350px;
|
||||||
--small-layout-width: 200px;
|
--small-layout-width: 200px;
|
||||||
font-family: 'Inter', Arial, Helvetica, sans-serif;
|
|
||||||
line-height: 190%;
|
|
||||||
|
|
||||||
|
--sans-serif-font: 'Inter', Helvetica, Arial, sans-serif;
|
||||||
|
--serif-font: 'Source Serif Pro', 'Georgia', serif;
|
||||||
--code-font: 'Cascadia Code';
|
--code-font: 'Cascadia Code';
|
||||||
|
|
||||||
|
font-family: var(--sans-serif-font);
|
||||||
|
line-height: 190%;
|
||||||
|
|
||||||
--background-color: white;
|
--background-color: white;
|
||||||
--bg-0: #f0f0f0;
|
--bg-0: #f0f0f0;
|
||||||
--bg-1: #e7e7e7;
|
--bg-1: #e7e7e7;
|
||||||
@ -176,7 +179,7 @@ h5 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-family: 'Source Serif Pro', serif;
|
font-family: var(--serif-font);
|
||||||
margin-top: 0.4rem;
|
margin-top: 0.4rem;
|
||||||
margin-bottom: 2.3vmin;
|
margin-bottom: 2.3vmin;
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user