- Issue created by @RichardGaunt
We generate CSS variables for every colour used in CivicTheme but we do not generate CSS variables for any other properties.
In the past, when we compiled SASS for sub-theme, we combined the CT SASS with SubTheme SASS and compiled it and so any SubTheme overrides overrode CT at compile time and there was one giant blob of CSS to load for CT.
We are now compiling CivicTheme CSS for every component in the SDC component directory `civictheme/components/02-molecules/promo-card/promo-card.css` and not into a monolithic file in the sub-theme.
This means that if we change the font used in the sub-theme, any non-overridden component will not use the updated font because it is a SASS variable in the sub-theme (and not converted to CSS variable like color) and CivicTheme does not recompile its components and so does not get the updated value.
1. Override font-family in subtheme
2. Note that components do not update their typography for this change
Convert font variables to be CSS variables:
Active
1.0
Code