brandocms / europacss

A design system for responsive websites
MIT License
0 stars 0 forks source link

Allow setting a max px for vws #92

Closed tmjoen closed 2 years ago

tmjoen commented 2 years ago

For instance, if we have container: 100% for all breakpoints except desktop_xl which is 1920px, a @fontsize 12vw will scale infinitely while the container is clamped at 1920px. If we could set a switch in europa.config.js - set_max_px_for_vw(?), we could automatically add a rule for the largest breakpoint.

tmjoen commented 2 years ago

Closed in 0.8.0