Adjust button styles for theming
- Default (unstyled) buttons use the body text color - Colored buttons use their text color equivalent
This commit is contained in:
parent
a36bcf6cd3
commit
9235533f59
|
@ -1,5 +1,10 @@
|
|||
.btn {
|
||||
color: RGB(var(--body-text));
|
||||
}
|
||||
|
||||
@each $color in $color-names {
|
||||
.btn-#{$color} {
|
||||
color: RGB(var(--#{$color}-text));
|
||||
background-color: var(--#{$color});
|
||||
border-color: var(--#{$color});
|
||||
|
||||
|
|
Loading…
Reference in New Issue