mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-06 04:08:22 +01:00
Merge pull request #18109 from twbs/color-utils-important
Add !important to text and background color utility classes
This commit is contained in:
commit
fcbf49ae0a
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
@mixin bg-variant($parent, $color) {
|
@mixin bg-variant($parent, $color) {
|
||||||
#{$parent} {
|
#{$parent} {
|
||||||
color: #fff;
|
color: #fff !important;
|
||||||
background-color: $color;
|
background-color: $color !important;
|
||||||
}
|
}
|
||||||
a#{$parent} {
|
a#{$parent} {
|
||||||
@include hover-focus {
|
@include hover-focus {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
@mixin text-emphasis-variant($parent, $color) {
|
@mixin text-emphasis-variant($parent, $color) {
|
||||||
#{$parent} {
|
#{$parent} {
|
||||||
color: $color;
|
color: $color !important;
|
||||||
}
|
}
|
||||||
a#{$parent} {
|
a#{$parent} {
|
||||||
@include hover-focus {
|
@include hover-focus {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user