Financial-Times / o-typography

Typography and vertical rhythm styles for FT branding
http://registry.origami.ft.com/components/o-typography
10 stars 2 forks source link

Handle non-numeric values when relative units are enabled. #187

Closed notlee closed 5 years ago

notlee commented 5 years ago

E.g. @include oTypographySize($scale: -1, $line-height: unset); should set a line height of 'unset', without trying to convert 'unset' to rems (and erroring).

Relates to: https://github.com/Financial-Times/o-forms/pull/261#pullrequestreview-233463697