Retrospring/app/assets/stylesheets/overrides/_buttons.scss

19 lines
367 B
SCSS
Raw Normal View History

.btn {
color: RGB(var(--body-text));
}
2020-04-29 09:17:10 -07:00
@each $color in $color-names {
.btn-#{$color} {
color: RGB(var(--#{$color}-text));
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});
}
}
}