zwbetz-gh / cupper-hugo-theme

An accessibility-friendly Hugo theme, ported from the original Cupper project.
https://cupper-hugo-theme.netlify.app/
MIT License
301 stars 190 forks source link

Paragraph text size seems to be much larger than original cupper #82

Closed jberryman closed 1 year ago

jberryman commented 1 year ago

Describe the bug

The text in the demo app seems to be much larger than the text in the original cupper example page (and doesn't look very good in my opinion).

I took a brief look in dev tools and the font style looked identical, but obviously i'm missing something.

To Reproduce

Compare for example: https://cupper-hugo-theme.netlify.app/heading-link-test/ https://thepaciellogroup.github.io/cupper/patterns/setup/

...where I see:

image

vs...

image

Expected behavior typography matching original

Desktop (please complete the following information):

jberryman commented 1 year ago

Maybe more helpful than the screenshots: computed values of font-size is 22px vs 28px

zwbetz-gh commented 1 year ago

@jberryman - thanks for spotting this. I'm peeking at your PR https://github.com/zwbetz-gh/cupper-hugo-theme/pull/83