tailwindcss/src/generators/text-colors-hover.less
2017-08-18 14:44:08 -04:00

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); }
});
}