Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 396 Bytes
// Hover states background colors
// TODO: use the colors maps instead of redefining here!
$colors: "main", "prime", "warn", "danger", "success";
@each $color in $colors {
@for $i from 1 through 5 {
.bg-#{$color}-#{$i}-h:hover, .bg-#{$color}-#{$i}-h:focus {
$h: $i + 1;
background-color: var(--color-#{$color}-#{$h});
@if $i == 5 { background-color: black }
}
}
}