Skip to content

Commit

Permalink
fix(select-input): change selected item colors
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-ivanovvv committed Jun 13, 2024
1 parent c21581d commit c5ae6fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const SelectedItem: FC<SelectedItemProps> = (selectedItemData) => {

return (
<SelectedItemBox onClick={(e) => handleDeleteSelectedItem(e, selectedItemData)}>
<RemoveIcon cursor='pointer' width={theme.spaces.micro} />
<RemoveIcon cursor='pointer' width={theme.spaces.micro} color={theme.colors.text.primary} />
<Text fontSize='small.semiLarge' wordBreak='keep-all'>
{primaryInfo}
</Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export const shapeSelectedItemBoxStyles: styleFn = ({ theme }) => ({
})

export const appearanceSelectedItemBoxStyles: styleFn = ({ theme }) => ({
backgroundColor: theme.colors.GRAY_300,
backgroundColor: theme.colors.selectInput.selectedItem,
})
4 changes: 2 additions & 2 deletions ui/theme/src/theme/colors_dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ const colors = {
fontColor: WHITE,
},
selectInput: {
selectedItem: GRAY_1500,
suggestedItemsContainer: GRAY_1000,
suggestedItem: GRAY_1400,
},
Expand Down Expand Up @@ -267,9 +268,8 @@ const colors = {
},
whiteBackgroundButton: {
default: {
background: GRAY_1400,
background: GRAY_1600,
font: 'rgb(0,0,0,1)',
color: WHITE,
border: 'transparent',
},
hover: {
Expand Down
1 change: 1 addition & 0 deletions ui/theme/src/theme/colors_light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ const colors = {
fontColor: GRAY_1600,
},
selectInput: {
selectedItem: GRAY_300,
suggestedItemsContainer: BLUE_0,
suggestedItem: WHITE,
},
Expand Down

0 comments on commit c5ae6fe

Please # to comment.