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
Many Tailwind CSS utilities support expressions like 1/2 or 3/4 to represent fractional values. For Slipstream modifiers that support fractional values, Slipstream currently treats any value between 0..<1 as a potential fractional value. So 0.25 will be treated as 1/4.
This is a bit of a hack, isn't super intuitive, and unfortunately due to compiler limitations does not let the developer use the more natural 1/4 to represent the fraction.
A better solution is not immediately apparent, so I'm filing this issue to track the desire for an improvement here.
The text was updated successfully, but these errors were encountered:
Many Tailwind CSS utilities support expressions like
1/2
or3/4
to represent fractional values. For Slipstream modifiers that support fractional values, Slipstream currently treats any value between 0..<1 as a potential fractional value. So0.25
will be treated as1/4
.This is a bit of a hack, isn't super intuitive, and unfortunately due to compiler limitations does not let the developer use the more natural
1/4
to represent the fraction.A better solution is not immediately apparent, so I'm filing this issue to track the desire for an improvement here.
The text was updated successfully, but these errors were encountered: