Skip to content

Commit

Permalink
fix: select component icons size differs in light and dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchik02 committed Nov 14, 2022
1 parent 602a500 commit b5755ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/primitives/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const Select = (
onOpen,
onClose,
optimized,
customDropdownIconProps,
_customDropdownIconProps,
_actionSheet,
_actionSheetContent,
_actionSheetBody,
Expand Down Expand Up @@ -133,7 +133,7 @@ const Select = (
) : dropdownIcon ? (
dropdownIcon
) : (
<ChevronDownIcon {...customDropdownIconProps} />
<ChevronDownIcon {..._customDropdownIconProps} />
);

const handleClose = () => {
Expand Down
4 changes: 2 additions & 2 deletions src/theme/components/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const Select = {
start: 0,
},

customDropdownIconProps: {
_customDropdownIconProps: {
color: 'muted.500',
mr: '3',
size: '6',
Expand All @@ -26,7 +26,7 @@ export const Select = {
},

_dark: {
customDropdownIconProps: { color: 'muted.400', mr: '3' },
_customDropdownIconProps: { color: 'muted.400', mr: '3' },
_hover: {
borderColor: 'primary.500',
},
Expand Down

0 comments on commit b5755ab

Please sign in to comment.