Skip to content

Commit

Permalink
fix: border on buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
RasenGUY committed Nov 14, 2023
1 parent 1ae3633 commit 676ea2a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/Button/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@ interface ButtonProps {

export const PrimaryButton = styled(BaseButton)<ButtonProps>(
({disabled}) => !disabled ? [
tw`dark:text-pretu dark:bg-gradient-to-r from-oranjo-blanc to-oranjo hover:outline hover:outline-blanc`,
tw`dark:text-pretu dark:bg-gradient-to-r from-oranjo-blanc to-oranjo border border-transparent border-[1.5px] hover:border-blanc`,
`
box-shadow: 0px 1px 5px 0px #090300;
&:hover {
outline-width: 1.5px;
}
`
] : [
tw`dark:text-pretu dark:opacity-50 dark:bg-gradient-to-r from-oranjo-blanc to-oranjo`,
Expand Down

0 comments on commit 676ea2a

Please sign in to comment.