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,
Is it possible to use namespace interpolation in Less ?
@color: "yellow"; .example { #top-@color; // Use of #top-yellow namespace .inNamespaceMixin(); }
Thanks !
The text was updated successfully, but these errors were encountered:
I've answered it at SO. (copying the answer just for reference):
Use parametric namespace instead (Notice namespaces and mixins are actually the same thing - i.e. the former is a purely logical abstraction).
@color: yellow; #top(yellow) { .square(@param) { width: @param; height: @param; } } .example { #top(@color); // use yellow #top namespace .square(10px); }
Sorry, something went wrong.
As for the feature itself - see #1338 (also #2594 et al.).
Merging to #1338.
No branches or pull requests
Hello,
Is it possible to use namespace interpolation in Less ?
Thanks !
The text was updated successfully, but these errors were encountered: