Add customizable hover styles to buttons

This commit is contained in:
Andreas Nedbal 2020-04-27 19:57:10 +02:00
parent 1951779c00
commit a7cefa11b3
1 changed files with 8 additions and 0 deletions

View File

@ -10,5 +10,13 @@ $colors: (
.btn-#{$color} {
background-color: var(--#{$color});
border-color: var(--#{$color});
&:hover {
background: linear-gradient(
to top,
rgba(0, 0, 0, 0.10),
rgba(0, 0, 0, 0.10)
) var(--#{$color});
}
}
}