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
New keyword: single-arg #162
Conversation
…CSS values as mixins' arguments - Included prettier version in the dev dependencies for the formatting consistency
README.md
Outdated
### Comma-separated CSS values | ||
|
||
In order to pass a comma-separated value as a argument to a mixin, you can use | ||
the special `asSingleArg` keyword. For example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other names that I came up with while coding:
single-arg
mixinArg
mixin-arg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think CSS code style is more about single-arg
camelCase is very rare.
Thanks. Released in 10.0. |
Thank you for the help and review! |
Introduced
single-arg
keyword to allow passing comma-separated CSS values as mixins' arguments