Skip to content

Commit

Permalink
Address .s-btn__primary deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
double-beep authored Oct 7, 2023
1 parent 39c4b1e commit 8a4ec3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/buttons/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Icons, StacksCommonOptions } from "../index";

export type ButtonType = "outlined" | "link" | "filled" | "muted"
export type ButtonType = "outlined" | "link" | "muted"
| "danger" | "dropdown" | "unset" | "link"
| "facebook" | "google" | "github";

Expand Down Expand Up @@ -85,7 +85,7 @@ export const makeStacksButton = (
btn.setAttribute("aria-label", title || text);

if (primary) {
btn.classList.add("s-btn__primary");
btn.classList.add("s-btn__filled");
}

if (loading) {
Expand Down

0 comments on commit 8a4ec3c

Please sign in to comment.