You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to make custom CSS units a bit smarter. For example, I'd like to define a gcol unit like so
# doesn't workglobalcss html 1gcol:repeat(1, minmax(0, 1fr))
# Suggested syntaxglobalcss html 1gcol:repeat($, minmax(0, 1fr))
## This will be used
<span[gtc:12gcol]>
## equivalent to
<span[gtc:repeat(12, minmax(0, 1fr))]>
Using a $ as a placeholder for the unit multiplier is better, since in this example I don't want the 1fr to be interpolated
The text was updated successfully, but these errors were encountered:
It would be useful to make custom CSS units a bit smarter. For example, I'd like to define a
gcol
unit like soUsing a
$
as a placeholder for the unit multiplier is better, since in this example I don't want the1fr
to be interpolatedThe text was updated successfully, but these errors were encountered: