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

Update `oTypographyMaxLineWidth` to use relative units. #213

Closed notlee closed 4 years ago

notlee commented 4 years ago

oTypographyMaxLineWidth now returns a relative ch rather than px value. The $scale and $font parameters are redundant and have been removed.

origamiserviceuser commented 4 years ago

o-typography bundle size difference from 5.12.0 to 4b91984357ce8aefebcdc4aaa5d265ef72aac098 css, master: 13.82kb decrease (-1.09kb/gzip) css, internal: 9.92kb decrease (-0.53kb/gzip) css, whitelabel: 1.04kb decrease (-0.05kb/gzip) An insignificant difference was also found for: js

origamiserviceuser commented 4 years ago

o-typography bundle size difference from 5.12.0 to d59419a0759a6912ea7b221a9642b416d0df7d82 css, master: 13.82kb decrease (-1.09kb/gzip) css, internal: 9.92kb decrease (-0.53kb/gzip) css, whitelabel: 1.04kb decrease (-0.05kb/gzip) An insignificant difference was also found for: js