We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I was wondering if there was any way of using a mixin as a variable.
Example:
// a gray gradient
.gradient (#FCFCFC, #FEFEFE);
//container gray BG
@thisBG: #FCFCFC;
//container gray BG gradient
@thisBG: .gradient(#FCFCFC, #FEFEFE);
A note: I've tried using e(".gradient(#FCFCFC, #FEFEFE)"); but it doesn't work.
Thanks, and keep up the great work!
The text was updated successfully, but these errors were encountered:
Any chance we could see this in an upcoming version? It'd be nice to be able to do.
Sorry, something went wrong.
You could do this:
.grayGradient () { .gradient(#FCFCFC, #FEFEFE); }
and then call the new mixin
.someSelector { .grayGradient(); }
Moving to #538
No branches or pull requests
Hello,
I was wondering if there was any way of using a mixin as a variable.
Example:
// a gray gradient
.gradient (#FCFCFC, #FEFEFE);
//container gray BG
@thisBG: #FCFCFC;
//container gray BG gradient
@thisBG: .gradient(#FCFCFC, #FEFEFE);
A note: I've tried using e(".gradient(#FCFCFC, #FEFEFE)"); but it doesn't work.
Thanks, and keep up the great work!
The text was updated successfully, but these errors were encountered: