Skip to content

Commit

Permalink
refactor(ButtonTertiary): ring colors
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Jul 15, 2024
1 parent 575ede3 commit 4f8417d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/components/ButtonTertiary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ export const ButtonTertiary = forwardRef(function ButtonTertiary(
size={size}
className={clsx(
className,
"bg-ui-neutral-50 font-medium ring-1 ring-inset",
color === "neutral" &&
"text-ui-neutral-950 ring-ui-neutral-600 active:bg-ui-neutral-100",
color === "accent" &&
"text-ui-accent-700 ring-ui-accent-600 active:bg-ui-accent-100",
color === "danger" &&
"text-ui-danger-700 ring-ui-danger-600 active:bg-ui-danger-100",
"bg-ui-neutral-50 font-medium ring-1 ring-inset ring-ui-neutral-600",
color === "neutral" && "text-ui-neutral-950 active:bg-ui-neutral-100",
color === "accent" && "text-ui-accent-700 active:bg-ui-accent-100",
color === "danger" && "text-ui-danger-700 active:bg-ui-danger-100",
)}
{...props}
/>
Expand Down

0 comments on commit 4f8417d

Please sign in to comment.