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

23 lines
428 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});
}
}
2020-05-06 13:24:56 -07:00
.btn-outline-#{$color} {
color: var(--#{$color});
}
}