mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
18 lines
500 B
Plaintext
18 lines
500 B
Plaintext
.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); }
|
|
});
|
|
}
|
|
|