update primary/secondary color

This commit is contained in:
Dawid Wysokiński 2021-01-04 19:28:19 +01:00
parent 9b5d53af5b
commit ef41427154
5 changed files with 15 additions and 9 deletions

View File

@ -33,9 +33,7 @@ const NotFoundPage = () => {
{t('description')} {t('description')}
</Typography> </Typography>
<Typography variant="h4"> <Typography variant="h4">
<Link color="secondary" to={INDEX_PAGE}> <Link to={INDEX_PAGE}>{t('backToOurSite')}</Link>
{t('backToOurSite')}
</Link>
</Typography> </Typography>
</Container> </Container>
</main> </main>

View File

@ -93,7 +93,7 @@ const useStyles = makeStyles(theme => ({
width: '100%', width: '100%',
}, },
activeLink: { activeLink: {
color: theme.palette.secondary.main, color: theme.palette.primary.main,
}, },
})); }));

View File

@ -383,7 +383,7 @@ function MapPage() {
<Button <Button
variant="contained" variant="contained"
fullWidth fullWidth
color="secondary" color="primary"
onClick={handleAddTribeMarker} onClick={handleAddTribeMarker}
disabled={tribeMarkers.length >= 25} disabled={tribeMarkers.length >= 25}
> >
@ -425,7 +425,7 @@ function MapPage() {
<Button <Button
variant="contained" variant="contained"
fullWidth fullWidth
color="secondary" color="primary"
onClick={handleAddPlayerMarker} onClick={handleAddPlayerMarker}
disabled={playerMarkers.length >= 25} disabled={playerMarkers.length >= 25}
> >
@ -438,7 +438,7 @@ function MapPage() {
<Button <Button
type="submit" type="submit"
size="large" size="large"
color="secondary" color="primary"
variant="contained" variant="contained"
> >
{t('buttons.generateMap')} {t('buttons.generateMap')}

View File

@ -304,7 +304,7 @@ function WarStatsPage() {
<Button <Button
type="submit" type="submit"
size="large" size="large"
color="secondary" color="primary"
variant="contained" variant="contained"
disabled={ disabled={
isSubmitting || isSubmitting ||

View File

@ -9,6 +9,14 @@ const createTheme = (): Theme => {
createMuiTheme({ createMuiTheme({
palette: { palette: {
type: 'dark', type: 'dark',
primary: {
main: '#BB86FC',
contrastText: '#000',
},
secondary: {
main: '#03DAC6',
contrastText: '#000',
},
}, },
typography: { typography: {
h2: { h2: {
@ -24,7 +32,7 @@ const createTheme = (): Theme => {
color: 'default', color: 'default',
}, },
MuiLink: { MuiLink: {
color: 'secondary', // color: 'secondary',
underline: 'none', underline: 'none',
}, },
}, },