Closed acidtone closed 2 years ago
Problem: Changing the --accentFont CSS Variable does not affect heading font-family.
--accentFont
font-family
Root cause: Line 7 of _layout.scss is causing the headings to inherit from the body text --primaryFont CSS Variable.
_layout.scss
--primaryFont
Potential Solutions:
:where
_typography.scss
Good spot. Thanks for letting me know! I've changed :where to :is, which allows the heading styles to override the generic styles.
:is
I knew there was a scss fix for that. Not my strongest area :)
scss
Problem: Changing the
--accentFont
CSS Variable does not affect headingfont-family
.Root cause: Line 7 of
_layout.scss
is causing the headings to inherit from the body text--primaryFont
CSS Variable.Potential Solutions:
:where
declaration on Line 3 of_typography.scss