$colors: (
  "primary", 
  "danger",
  "warning",
  "info",
  "success"
);

@each $color in $colors {
  .btn-#{$color} {
    background-color: var(--#{$color});
    border-color: var(--#{$color});
  }
}
$colors: (
  "primary", 
  "danger",
  "warning",
  "info",
  "success"
);

@each $color in $colors {
  .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});
    }
  }
}
Add customizable hover styles to buttons
Add customizable hover styles to buttons
