-
Notifications
You must be signed in to change notification settings - Fork 11
CSS revision to support fallback typefaces #427
Description
Prior CoPilot feedback:
The fallback selectors cover
header, footer, h1–h4, .button, .main-footer, which matches the elements in the correspondingsofia-prorule at line 56. However,sofia-prois also applied in several other rules (.hub .page-intro .sub-nav,.hub .upcoming-event div,.hub .previous-event h3/.when-where,.hub table.time-blocks,.page-divider, etc. — see lines 134, 143, 170, 192, 537, 550, 624, 628, 653). Those elements are not covered by the fallback selectors and will fall through to the browser's genericsans-serifrather than the explicit"Helvetica Neue", Arial, sans-serifstack when Typekit fails. For visual consistency, consider extending the fallback rules to cover allsofia-prousages, or using a singlehtml.wf-loading, html.wf-inactive, html.fonts-fallback-lockedselector that redefines a CSS custom property.
Originally posted by @Copilot in #424 (comment)