vendor/assets/stylesheets/spectre/_mixins.scss in spectre_scss-0.4.5.0 vs vendor/assets/stylesheets/spectre/_mixins.scss in spectre_scss-0.4.6.0

- old
+ new

@@ -8,9 +8,13 @@ // Background color utility mixin @mixin bg-color-variant($name: ".bg-primary", $color: $primary-color) { #{$name} { background: $color; + + @if (lightness($color) < 60) { + color: $light-color; + } } } // Button variant mixin @mixin button-variant($color: $primary-color) {