Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 263026a

Browse files
committed
improved singlevalue
1 parent 3e490c2 commit 263026a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/styles/TagsStyles.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,22 @@ const CustomTagsStyles: StylesConfig<any, true, GroupBase<any>> = {
1010
boxSizing: "border-box",
1111
}),
1212
menuPortal: (styles) => ({ ...styles, zIndex: 9999 }),
13-
control: (styles) => ({ ...styles, backgroundColor: StyleVariables.BACKGROUND_PRIMARY }),
13+
control: (styles) => ({ ...styles, border: "none", boxShadow: "none" }),
1414
option: (styles, { data, isFocused }) => ({
1515
...styles,
1616
backgroundColor: isFocused ? StyleVariables.TEXT_ACCENT_HOVER : data.color,
1717
color: "rgb(66, 66, 66)",
1818
padding: 0,
1919
textAlign: "center",
2020
":hover": {
21-
backgroundColor: StyleVariables.BACKGROUND_PRIMARY,
21+
backgroundColor: StyleVariables.TEXT_ACCENT_HOVER,
2222
},
2323

2424
}),
25+
singleValue: (styles, { data }) => ({
26+
...styles,
27+
backgroundColor: data.color
28+
}),
2529
multiValue: (styles, { data }) => {
2630
return {
2731
...styles,

0 commit comments

Comments
 (0)