Skip to content

Commit

Permalink
fix: nav tab color
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniyalManzoor committed Oct 19, 2023
1 parent 35fe060 commit c86ce1f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />

<title>Dex51 Finance</title>
<title>DEX51 Finance</title>

<!--
%PUBLIC_URL% will be replaced with the URL of the `public` folder during build.
Expand Down
10 changes: 5 additions & 5 deletions src/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ const Nav = styled.nav`
height: ${({ theme }) => theme.navHeight}px;
z-index: 2;
`
const NavAnaltics = styled.a`
color: rgba(255, 255, 255, 0.65);
const NavAnalytics = styled.a`
color: ${({ theme }) => theme.neutral2};
padding: 6px 10px;
text-decoration: none;
&:hover {
background-color: rgba(255, 255, 255, 0.05);
background-color: ${({ theme }) => theme.lightGrayOverlay};
border-radius: 10px;
}
`
Expand Down Expand Up @@ -95,9 +95,9 @@ export const PageTabs = () => {
<MenuItem href={`/tokens/${chainName.toLowerCase()}`} isActive={pathname.startsWith('/tokens')}>
<Trans>Tokens</Trans>
</MenuItem>
<NavAnaltics href="https://info.uniswap.org/#/" target="_blank" rel="noreferrer">
<NavAnalytics href="https://info.uniswap.org/#/" target="_blank" rel="noreferrer">
<Trans>Analytics</Trans>
</NavAnaltics>
</NavAnalytics>
{/* <Box marginY="4">
<MenuDropdown />
</Box> */}
Expand Down
4 changes: 4 additions & 0 deletions src/theme/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ export const darkTheme = {
neutral2: colors.neutral2_dark,
neutral3: colors.neutral3_dark,

lightGrayOverlay: '#99A1BD14',

surface1: colors.surface1_dark,
surface2: colors.surface2_dark,
surface3: colors.surface3_dark,
Expand All @@ -185,6 +187,8 @@ export const lightTheme: Theme = {
neutral2: colors.neutral2_light,
neutral3: colors.neutral3_light,

lightGrayOverlay: '#99A1BD14',

surface1: colors.surface1_light,
surface2: colors.surface2_light,
surface3: colors.surface3_light,
Expand Down

0 comments on commit c86ce1f

Please sign in to comment.