Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
fix(landing-page): correct overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
demmyhonore committed Mar 11, 2020
1 parent 5cbd7df commit 6f41e13
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/NavBar/NavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function NavBar ({ navLinks, buttons }) {
component={Link}
to={to}
variant="contained"
color="secondary"
color="primary"
>
{name}
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/NavBar/NavBar.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export default ({ typography, palette, spacing }) => createStyles({
},
navLinkActive: {
fontWeight: 600,
color : palette.secondary.main,
color : palette.primary.main,
},
});
2 changes: 1 addition & 1 deletion src/components/NavBar/__snapshots__/NavBar.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ exports[`<NavBar /> renders and matches snapshot 1`] = `
</a>
<a
aria-disabled="false"
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedSecondary"
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
href="/campaign/e63fc3c5-f84e-4a64-9d5b-98a49dd4680c"
role="button"
tabindex="0"
Expand Down
4 changes: 2 additions & 2 deletions src/theme/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const overrides = ({ palette, typography }) => ({
MuiButton: {
root: {
textTransform: 'none',
fontFamily : typography.fontFamily,
fontFamily : typography.fontFamilyOpenSans,
},
text: {
color : palette.text.blue,
Expand All @@ -20,7 +20,7 @@ const overrides = ({ palette, typography }) => ({
},
},
containedSecondary: {
background: palette.secondary.main,
background: palette.primary.main,
},
},
MuiDivider: {
Expand Down
4 changes: 2 additions & 2 deletions src/theme/palette.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export default {
blue : '#005AA3',
},
primary: {
main: 'rgb(8, 69, 146)',
main: '#2B44FF',
},
secondary: {
main: '#2B44FF',
main: '#ea6135',
},
};

0 comments on commit 6f41e13

Please sign in to comment.