Remove quotes around default variants.
This commit is contained in:
parent
a812d9649a
commit
4c640e608a
4 changed files with 8 additions and 8 deletions
|
|
@ -1,8 +1,8 @@
|
|||
.generate-bg-color-utility(@name; @variant; @color) when (@variant = 'default') {
|
||||
.generate-bg-color-utility(@name; @variant; @color) when (@variant = default) {
|
||||
.define-selector(~"bg-@{name}"; { background-color: @color; });
|
||||
}
|
||||
|
||||
.generate-bg-color-utility(@name; @variant; @color) when not (@variant = 'default') {
|
||||
.generate-bg-color-utility(@name; @variant; @color) when not (@variant = default) {
|
||||
.define-selector(~"bg-@{name}-@{variant}"; { background-color: @color; });
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
.generate-border-color-utility(@name; @variant; @color) when (@variant = 'default') {
|
||||
.generate-border-color-utility(@name; @variant; @color) when (@variant = default) {
|
||||
.define-selector(~"border-@{name}"; { border-color: @color; });
|
||||
}
|
||||
|
||||
.generate-border-color-utility(@name; @variant; @color) when not (@variant = 'default') {
|
||||
.generate-border-color-utility(@name; @variant; @color) when not (@variant = default) {
|
||||
.define-selector(~"border-@{name}-@{variant}"; { border-color: @color; });
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
.generate-text-color-utility(@name; @variant; @color) when (@variant = 'default') {
|
||||
.generate-text-color-utility(@name; @variant; @color) when (@variant = default) {
|
||||
.define-selector(~"text-@{name}"; { color: @color; });
|
||||
}
|
||||
|
||||
.generate-text-color-utility(@name; @variant; @color) when not (@variant = 'default') {
|
||||
.generate-text-color-utility(@name; @variant; @color) when not (@variant = default) {
|
||||
.define-selector(~"text-@{name}-@{variant}"; { color: @color; });
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -65,14 +65,14 @@
|
|||
|
||||
// Colors
|
||||
.define-text-color(light;
|
||||
'default' @text-light,
|
||||
default @text-light,
|
||||
'soft' @text-light-soft,
|
||||
'softer' @text-light-softer,
|
||||
'softest' @text-light-softest
|
||||
;);
|
||||
|
||||
.define-text-color(dark;
|
||||
'default' @text-dark,
|
||||
default @text-dark,
|
||||
'soft' @text-dark-soft,
|
||||
'softer' @text-dark-softer,
|
||||
'softest' @text-dark-softest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue