Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

[FE] refactor: Button focus 시 스타일링 제거 #504

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions frontend/src/components/@common/Button/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import { HomeIcon } from 'assets/icons';
import {
CSSProperties,
ComponentPropsWithRef,
Expand Down Expand Up @@ -66,10 +65,6 @@ const genVariantStyle = (variant: Required<Props>['variant']): RuleSet<object> =
background-color: ${theme.color.primary};
color: ${theme.color.gray2};
}

&:focus {
box-shadow: 0 0 0 3px ${theme.color.primary};
}
`}
`,
text: css`
Expand All @@ -81,10 +76,6 @@ const genVariantStyle = (variant: Required<Props>['variant']): RuleSet<object> =
&:hover {
background-color: ${theme.color.gray4};
}

&:focus {
box-shadow: 0 0 0 3px ${theme.color.gray4};
}
`}
`,
/* TODO: secondary를 primary로 바꾸고, primary는 다른 이름으로 변경 */
Expand All @@ -97,10 +88,6 @@ const genVariantStyle = (variant: Required<Props>['variant']): RuleSet<object> =
&:hover {
background-color: ${theme.color.primaryHover};
}

&:focus {
box-shadow: 0 0 0 3px ${theme.color.primary};
}
`}
`,
};
Expand Down
Loading