Use the right property
This commit is contained in:
parent
bde4d1c983
commit
3af24750ab
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
.define-text-color(@color-name; @variants) {
|
||||
.generate-utility-variants(~"text-@{color-name}"; @variants; {
|
||||
font-size: extract(@__variant-value, 2);
|
||||
color: extract(@__variant-value, 2);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
.define-text-color(@color-name; @variants; @screens) when not (@screens = none) {
|
||||
.define-text-color(@color-name; @variants);
|
||||
.generate-responsive-utility-variants(~"text-@{color-name}"; @variants; @screens; {
|
||||
font-size: extract(@__variant-value, 2);
|
||||
color: extract(@__variant-value, 2);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue