Add an o-typography variable $o-typography-error-on-missing-font: false that defaults to false, so this isn't breaking and doesn't break component builds. If a project sets $o-typography-error-on-missing-font: true, use o-fonts to determine if the required font face has been output and error if the font being used has not been included. Depends on https://github.com/Financial-Times/o-fonts/issues/109
Add an o-typography variable
$o-typography-error-on-missing-font: false
that defaults to false, so this isn't breaking and doesn't break component builds. If a project sets$o-typography-error-on-missing-font: true
, use o-fonts to determine if the required font face has been output and error if the font being used has not been included. Depends on https://github.com/Financial-Times/o-fonts/issues/109Relates to: https://github.com/Financial-Times/o-typography/issues/247