diff --git a/packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsx b/packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsx index be80f942354..0c8aef1abae 100644 --- a/packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsx +++ b/packages/desktop-client/src/components/autocomplete/CategoryAutocomplete.tsx @@ -18,7 +18,7 @@ import { import { SvgSplit } from '../../icons/v0'; import { useResponsive } from '../../ResponsiveProvider'; -import { type CSSProperties, theme, styles, colors } from '../../style'; +import { type CSSProperties, theme, styles } from '../../style'; import { Text } from '../common/Text'; import { TextOneLine } from '../common/TextOneLine'; import { View } from '../common/View'; @@ -301,6 +301,7 @@ type CategoryItemProps = { embedded?: boolean; }; +// eslint-disable-next-line import/no-unused-modules export function CategoryItem({ item, className, @@ -313,7 +314,7 @@ export function CategoryItem({ const narrowStyle = isNarrowWidth ? { ...styles.mobileMenuItem, - color: theme.menuItemText, + color: theme.menuAutoCompleteText, borderRadius: 0, borderTop: `1px solid ${theme.pillBorder}`, } @@ -331,6 +332,9 @@ export function CategoryItem({ ? theme.menuItemBackgroundHover : theme.menuAutoCompleteBackgroundHover : 'transparent', + color: highlighted + ? theme.menuAutoCompleteItemTextHover + : theme.menuItemText, ':hover': { color: theme.menuAutoCompleteItemTextHover, }, diff --git a/packages/desktop-client/src/components/autocomplete/PayeeAutocomplete.tsx b/packages/desktop-client/src/components/autocomplete/PayeeAutocomplete.tsx index 00e37311c29..2ac19d75771 100644 --- a/packages/desktop-client/src/components/autocomplete/PayeeAutocomplete.tsx +++ b/packages/desktop-client/src/components/autocomplete/PayeeAutocomplete.tsx @@ -25,7 +25,7 @@ import { useAccounts } from '../../hooks/useAccounts'; import { usePayees } from '../../hooks/usePayees'; import { SvgAdd } from '../../icons/v1'; import { useResponsive } from '../../ResponsiveProvider'; -import { type CSSProperties, theme, styles, colors } from '../../style'; +import { type CSSProperties, theme, styles } from '../../style'; import { Button } from '../common/Button'; import { TextOneLine } from '../common/TextOneLine'; import { View } from '../common/View'; @@ -518,6 +518,9 @@ function PayeeItem({ backgroundColor: highlighted ? theme.menuAutoCompleteBackgroundHover : 'transparent', + color: highlighted + ? theme.menuAutoCompleteItemTextHover + : theme.menuItemText, ':hover': { color: theme.menuAutoCompleteItemTextHover, },