Skip to content

Commit

Permalink
feat(button): change focused style
Browse files Browse the repository at this point in the history
  • Loading branch information
sungik-choi committed Feb 28, 2023
1 parent 0517589 commit 36a7660
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/bezier-react/src/components/Button/Button.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
isEmpty,
} from 'Utils/typeUtils'
import { Text } from 'Components/Text'
import { focusedInputWrapperStyle } from 'Components/Forms/Inputs/mixins'
import ButtonProps, { ButtonSize, ButtonStyleVariant, ButtonColorVariant } from './Button.types'

// NOTE: ButtonSize 에 따른 버튼의 min-width, height
Expand Down Expand Up @@ -422,7 +421,7 @@ export const ButtonWrapper = styled.button<ButtonWrapperProps>`
opacity: ${({ disabled }) => (disabled ? DisabledOpacity : 1)};
&:focus {
${focusedInputWrapperStyle};
outline: 3px solid var(--bgtxt-cobalt-light);
}
${({ foundation }) => foundation?.transition?.getTransitionsCSS(['background-color', 'box-shadow'])};
Expand Down

0 comments on commit 36a7660

Please sign in to comment.