@each $color in $color-names {
  .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});
    }
  }
}
.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});

    &:hover {
      background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.10),
        rgba(0, 0, 0, 0.10)
      ) var(--#{$color});
    }
  }
}
Adjust button styles for theming
Adjust button styles for theming

- Default (unstyled) buttons use the body text color
- Colored buttons use their text color equivalent
