Default to system-ui font stack. Set colour on heading and code. Set font weight on headings.

This commit is contained in:
Fredrik Jonsson 2023-02-11 21:23:34 +01:00
commit 702f7f39e3

View file

@ -3,12 +3,14 @@
// Document
html {
// Change the default font family in all browsers (opinionated).
// Change the default font family in all browsers.
font-family: var(--ff-body);
// Set base font size in percent.
font-size: calc(#{$base-font-size} / 16 * 100%);
// Correct the line height in all browsers.
line-height: $base-line-height;
// Set text colour.
color: var(--color-text);
// Prevent adjustments of font size.
-webkit-text-size-adjust: none;
text-size-adjust: none;