Skip to content

Commit

Permalink
style: optimized hover state style (OneKeyHQ#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
franco-chan committed May 5, 2022
1 parent 870f12f commit b0c86c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/components/src/Textarea/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ const TextArea = React.forwardRef<
_focus={{
borderColor: isInvalid ? 'border-critical-default' : 'focused-default',
bg: 'action-secondary-default',
_hover: {
borderColor: isInvalid
? 'border-critical-default'
: 'focused-default',
},
}}
_hover={{
borderColor: isInvalid ? 'border-critical-default' : 'border-hovered',
Expand Down

0 comments on commit b0c86c2

Please sign in to comment.