Skip to content

Commit

Permalink
style: button disabled color
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnsonMao committed Oct 3, 2024
1 parent 26bfd3f commit 01f09b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/shared/Button/v2/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export enum ButtonSize {
}

const commonDisabledClasses =
"disabled:cursor-not-allowed disabled:bg-none disabled:bg-gray-800 disabled:border-gray-500 disabled:text-gray-200 disabled:stroke-gray-200 disabled:fill-gray-200";
"disabled:cursor-not-allowed disabled:bg-none disabled:bg-grey-800 disabled:border-grey-500 disabled:text-grey-200 disabled:stroke-grey-200 disabled:fill-grey-200";

const buttonTypeClasses: Record<ButtonVariant, string> = {
primary:
Expand Down Expand Up @@ -51,7 +51,7 @@ type InnerButtonComponent = (
const iconTypeClasses: Record<ButtonVariant, string> = {
primary:
"stroke-primary-700 hover:stroke-primary-50 active:stroke-primary-50",
secondary: "stroke-primary-200 disabled:stroke-gray-500",
secondary: "stroke-primary-200 disabled:stroke-grey-500",
highlight: "stroke-primary-50",
};

Expand Down

0 comments on commit 01f09b5

Please sign in to comment.