Skip to content

Commit b5755ab

Browse files
committed
fix: select component icons size differs in light and dark mode
1 parent 602a500 commit b5755ab

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/primitives/Select/Select.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const Select = (
6767
onOpen,
6868
onClose,
6969
optimized,
70-
customDropdownIconProps,
70+
_customDropdownIconProps,
7171
_actionSheet,
7272
_actionSheetContent,
7373
_actionSheetBody,
@@ -133,7 +133,7 @@ const Select = (
133133
) : dropdownIcon ? (
134134
dropdownIcon
135135
) : (
136-
<ChevronDownIcon {...customDropdownIconProps} />
136+
<ChevronDownIcon {..._customDropdownIconProps} />
137137
);
138138

139139
const handleClose = () => {

src/theme/components/select.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const Select = {
55
start: 0,
66
},
77

8-
customDropdownIconProps: {
8+
_customDropdownIconProps: {
99
color: 'muted.500',
1010
mr: '3',
1111
size: '6',
@@ -26,7 +26,7 @@ export const Select = {
2626
},
2727

2828
_dark: {
29-
customDropdownIconProps: { color: 'muted.400', mr: '3' },
29+
_customDropdownIconProps: { color: 'muted.400', mr: '3' },
3030
_hover: {
3131
borderColor: 'primary.500',
3232
},

0 commit comments

Comments
 (0)