jhildenbiddle / vertical-rhythm-reset

A Sass/SCSS library for responsive vertical rhythm grids, modular scale typography, and CSS normalization.
https://jhildenbiddle.github.io/vertical-rhythm-reset/
MIT License
75 stars 6 forks source link

Flexible sizing #19

Open dlewand691 opened 4 years ago

dlewand691 commented 4 years ago

Wondering what your thoughts are on adding flexible sizing instead of strict breaks. Here's some examples:

https://codepen.io/MadeByMike/pen/bEEGvv?editors%3D0100 https://github.com/twbs/rfs https://codepen.io/MadeByMike/pen/vNrvdZ https://www.sassmeister.com/gist/7f22e44ace49b5124eec

jhildenbiddle commented 4 years ago

Hi @dlewand691,

I'd love to add it. I considered it when developing the project, but Safari (and other WebKit-based browsers) didn't support any method of calculating new text sizes without a hard break point. As a result, I opted for text sizing via hard break points because it worked everywhere.

I haven't checked Safari's compatibility with dynamic text sizing since then. If the necessary support has been added, it would be a nice enhancement. PRs are also welcome if you're up for it!