gantry / gantry5

:rocket: Next Generation Template / Theme Framework

Home Page:http://gantry.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gantry 5 SCSS compiler has issues with mixed units when using clamp()

dmlwebal opened this issue · comments

When using this technique to scale fonts in Gantry 5

Linearly Scale font-size with CSS clamp() Based on the Viewport

e.g.

font-size: clamp(1rem, 2vw + 0.75rem, 1.5rem);

Gantry SCSS compiler returns the Crikey screen with a mixed units error. Is this something that can be worked around?