mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
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 changed files with 5 additions and 0 deletions
|
@ -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 a new issue