-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should $hu-opacity-types
and $hu-scale-types
use percentages instead of scales?
#33
Comments
I think I prefer the unitless scales, which in this case (and other cases) map to something that does not use |
🤔 That's an interesting point. However, as a counter-point, do the unitless scales more represent something that isn't sequential, or doesn't have a near 1:1 mapping? When I think of opacity, I always think in percentages ("can you make that 50% opacity?"), and often get annoyed that CSS represents it in The same is true for scaling. "Can you make that 50% smaller?" instead of |
I’m not yet convinced on this either way, but to add another thing: would it be right to punish people for “correctly” remembering that opacity/scale values are not percentage-based? Also, would an entirely accurate |
Definitely more valid, but I don't like it 🤣 |
Fair enough. But “going rogue” and making up stuff runs the risk of straying from what makes Hucssley so refreshingly predictable. |
Good point, that's a valid use of a scale. It may get a bit confusing that the current scale looks like "it's just a regular |
It's a tough one, that's for sure |
Currently,
$hu-opacity-types
and$hu-scale-types
use scale values like50: 0.5
, but should they use percentages like50%: 0.5
likewidth
etc? Would that be clearer?The text was updated successfully, but these errors were encountered: