Sha256: f17c745ba20c87b54a2d54ee0d8a68e2506e631525875290d50a40733e9c57ec
Contents?: true
Size: 446 Bytes
Versions: 2
Compression:
Stored size: 446 Bytes
Contents
// Background color utility mixin @mixin bg-color-variant($name: ".bg-primary", $color: $primary-color) { #{$name} { background: $color; @if (lightness($color) < 60) { color: $light-color; } } } // Text color utility mixin @mixin text-color-variant($name: ".text-primary", $color: $primary-color) { #{$name} { color: $color; } a#{$name} { &:focus, &:hover { color: darken($color, 5%); } } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spectre_scss-0.5.1.0 | vendor/assets/stylesheets/spectre/mixins/_color.scss |
spectre_scss-0.5.0.0 | vendor/assets/stylesheets/spectre/mixins/_color.scss |