Skip to content

Commit

Permalink
fix(utilities): drop color exception in color utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Aug 28, 2020
1 parent 2931fc7 commit acfc5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/mixins/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
@each $property in $properties {
#{$property}: $value if($enable-important-utilities, !important, null);
// Boosted mod: ensure contrasts in color utilities
@if "background-color" == $property and "transparent" != inspect($value) and $primary != $value {
@if "background-color" == $property and "transparent" != inspect($value) {
color: color-contrast($value);
} @else if "color" == $property and "inherit" != inspect($value) and $accessible-orange != $value {
background-color: color-contrast($value);
Expand Down

0 comments on commit acfc5e9

Please sign in to comment.