Isolate themes from each other with "unnamed" namespaces:
& {
@import (multiple) "schemes.less"
@import "dark.less";
}
& {
@import (multiple) "schemes.less"
@import "light.less";
}
// etc.
(Assuming you're using an up-to-date Less compiler, not lessphp
- for that one you need minor modifications - e.g. remove (multiple)
etc.).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…