Add .var() to mixins.less
This commit is contained in:
parent
b291d7ce3d
commit
39fbc43860
|
@ -220,3 +220,8 @@
|
|||
background-color: @color-pending;
|
||||
}
|
||||
}
|
||||
|
||||
.var(@property, @variable) {
|
||||
@{property}: @@variable;
|
||||
@{property}: var(~"--@{variable}", @@variable);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue