All definitions should have a single argument #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I would like to apply the "principle of least surprise" more strictly to the arguments of the CSS definitions.
A CSS definition function should always have exactly one argument which allows passing the most common values. For properties, that allow passing multiple comma-separated values, like
backdrop-filter, this means that the function should accept a single value instead of a list:We should still allow passing multiple values by providing an additional variant of the function. In
elm-cssthose functions haveManysuffix. We could just add a':