Add .var() to mixins.less

This commit is contained in:
Sukhwinder Dhillon 2021-06-11 16:42:17 +02:00 committed by Johannes Meyer
parent b291d7ce3d
commit 39fbc43860
1 changed files with 5 additions and 0 deletions

View File

@ -220,3 +220,8 @@
background-color: @color-pending;
}
}
.var(@property, @variable) {
@{property}: @@variable;
@{property}: var(~"--@{variable}", @@variable);
}