Make buttons generatable, add text hovers
This commit is contained in:
parent
b93b352faf
commit
1b048a1f10
5 changed files with 39 additions and 136 deletions
17
src/generators/text-colors-hover.less
Normal file
17
src/generators/text-colors-hover.less
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
.define-text-hover-colors(@variants) {
|
||||
.generate-utility-variants('hover-text'; @variants; {
|
||||
&:hover { color: extract(@__variant-value, 2); }
|
||||
});
|
||||
}
|
||||
|
||||
.define-text-hover-colors(@variants; none) {
|
||||
.define-text-hover-colors(@variants);
|
||||
}
|
||||
|
||||
.define-text-hover-colors(@variants; @screens) when not (@screens = none) {
|
||||
.define-text-hover-colors(@variants);
|
||||
.generate-responsive-utility-variants('hover-text'; @variants; @screens; {
|
||||
&:hover { color: extract(@__variant-value, 2); }
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue