Commit ad2472ea authored by eddie's avatar eddie Committed by GitHub

fix: correct color for selected token in CurrencySearchModal (#5705)

Co-authored-by: default avatarEddie Dugan <eddie.dugan@UniswapdieDugan.localdomain>
parent f4d4acac
...@@ -18,7 +18,7 @@ const MobileWrapper = styled(AutoColumn)` ...@@ -18,7 +18,7 @@ const MobileWrapper = styled(AutoColumn)`
` `
const BaseWrapper = styled.div<{ disable?: boolean }>` const BaseWrapper = styled.div<{ disable?: boolean }>`
border: 1px solid ${({ theme, disable }) => (disable ? theme.accentAction : theme.backgroundOutline)}; border: 1px solid ${({ theme, disable }) => (disable ? theme.accentActive : theme.backgroundOutline)};
border-radius: 16px; border-radius: 16px;
display: flex; display: flex;
padding: 6px; padding: 6px;
...@@ -30,8 +30,8 @@ const BaseWrapper = styled.div<{ disable?: boolean }>` ...@@ -30,8 +30,8 @@ const BaseWrapper = styled.div<{ disable?: boolean }>`
background-color: ${({ theme }) => theme.hoverDefault}; background-color: ${({ theme }) => theme.hoverDefault};
} }
color: ${({ theme, disable }) => disable && theme.accentAction}; color: ${({ theme, disable }) => disable && theme.accentActive};
background-color: ${({ theme, disable }) => disable && theme.accentActionSoft}; background-color: ${({ theme, disable }) => disable && theme.accentActiveSoft};
` `
const formatAnalyticsEventProperties = (currency: Currency, searchQuery: string, isAddressSearch: string | false) => ({ const formatAnalyticsEventProperties = (currency: Currency, searchQuery: string, isAddressSearch: string | false) => ({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment