Skip to content

Commit

Permalink
some more theme styling changes
Browse files Browse the repository at this point in the history
- header icon colour changes (wip!)
  • Loading branch information
shorn-gnosis committed May 14, 2024
1 parent d905b74 commit 2656851
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ const useStyles = makeStyles((theme) => ({
},
whiteIcons: {
'& button, & a.MuiIconButton-root': {
color: theme.palette.icons.light,
color: theme.palette.icons.purple100,
'&:hover': {
color: theme.palette.icons.lightHover,
color: theme.palette.icons.purple200,
background: 'transparent',
},
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/Notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const useStyles = makeStyles((theme) => ({
iconButtonClose: {
borderRadius: '8px',
'&:hover': {
background: theme.custom.colors.lightWhite,
background: theme.custom.colors.blue600,
},
'& .MuiSvgIcon-root': {
fontSize: '1.3rem',
Expand All @@ -59,7 +59,7 @@ const useStyles = makeStyles((theme) => ({
},
},
'&:hover': {
background: theme.custom.colors.white,
background: theme.custom.colors.blue600,
'& .MuiSvgIcon-root': {
'& path': {
fill: theme.custom.colors.purple200,
Expand Down
5 changes: 3 additions & 2 deletions src/styles/fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import dmSansTtf from '%/fonts/DMSans-Regular.ttf';
import dmSansSemiBoldTtf from '%/fonts/DMSans-SemiBold.ttf';

export const fontFamily = 'DM Sans';
export const fontWeightBold = 700;
export const fontWeightLight = 300;
export const fontWeightRegular = 400;
export const fontWeightMedium = 500;
export const fontWeightMediumBold = 600;
export const fontWeightBold = 700;
export const fontWeightRegular = 400;

export const fontSizeSmallest = 10;
export const fontSizeSmaller = 12;
export const fontSizeSmall = 14;
Expand Down
12 changes: 6 additions & 6 deletions src/styles/theme.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import { createTheme } from '@mui/material/styles';

import {
dmSans,
dmSansBold,
dmSansItalic,
dmSansLight,
dmSansLightItalic,
dmSansMedium,
fontFamily as fontFamilyDmSans,
fontSizeLarge,
fontSizeLarger,
Expand All @@ -14,12 +20,6 @@ import {
fontWeightMedium,
fontWeightMediumBold,
fontWeightRegular,
dmSans,
dmSansBold,
dmSansItalic,
dmSansLight,
dmSansLightItalic,
dmSansMedium,
} from '~/styles/fonts';

const foundation = {
Expand Down

0 comments on commit 2656851

Please sign in to comment.