Skip to content

Commit

Permalink
refactor: destructive인 경우에만 text-white 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
designsoo committed Jul 14, 2024
1 parent f20e4f2 commit 02d7090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/PrimaryButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const PrimaryButton = ({
onClick={onClick}
disabled={disabled}
>
<span className='min-w-16 text-white'>{children}</span>
<span className='min-w-16'>{children}</span>
</button>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
}

.button-fill-destructive {
@apply bg-red-600 hover:bg-red-500 focus:bg-red-500;
@apply bg-red-600 text-white hover:bg-red-500 focus:bg-red-500;
}

.button-stroke {
Expand Down

0 comments on commit 02d7090

Please sign in to comment.