Replies: 2 comments
-
Less does not have a direct equivalent to the For example, if you have a mixin defined in a namespace like this: #sys {
.size() {
// mixin code
}
} You would call it using the namespace: .element {
#sys.size();
} This approach ensures that you are explicitly using the correct mixin from the desired namespace, but it does require specifying the namespace each time you use the mixin [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
hi @SergeVDev. I've been exploring adding something like Sass's |
Beta Was this translation helpful? Give feedback.
-
Hi all,
Is there in LESS something like
using
from C#/C++?I have a library:
So, I want if there would be another library with a mixin
.size()
to be able to resolve the conflict, specifying#sys.size()
, but I don't want writing#sys.size()
just in case.So, I'm looking for a way to add something like
using #sys;
at the top of a caller file.Beta Was this translation helpful? Give feedback.
All reactions