1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-23 05:51:42 +04:00

Fix #1082: Make sure text-$color overwrites bg-$color (#1086)

This commit is contained in:
Robert-Jan de Dreu
2022-05-08 12:32:11 +02:00
committed by GitHub
parent a1020cfddc
commit a21fed2547
+6 -4
View File
@@ -7,12 +7,14 @@
background: $value !important;
}
.text-#{"" + $color} {
color: $value !important;
}
.bg-#{"" + $color}-lt {
color: $value !important;
background: theme-color-lighter($value, true) !important;
}
}
@each $color, $value in theme-colors() {
.text-#{"" + $color} {
color: $value !important;
}
}