♻️ refactor: set font types as variables

main
welpo 2 years ago
parent f4cd6e6a92
commit d6c198e379
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -39,11 +39,14 @@
--normal-layout-width: 600px;
--medium-layout-width: 350px;
--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';
font-family: var(--sans-serif-font);
line-height: 190%;
--background-color: white;
--bg-0: #f0f0f0;
--bg-1: #e7e7e7;
@ -176,7 +179,7 @@ h5 {
}
p {
font-family: 'Source Serif Pro', serif;
font-family: var(--serif-font);
margin-top: 0.4rem;
margin-bottom: 2.3vmin;
line-height: 2rem;

Loading…
Cancel
Save