Updated Theme

This commit is contained in:
2024-05-24 11:53:28 +02:00
parent 9ba474fdcf
commit 9943c5df56
2 changed files with 25 additions and 21 deletions
+3 -3
View File
@@ -38,9 +38,9 @@ const MainCard = ({ imageURL, title, description, url }) => {
image={imageURL} image={imageURL}
alt={title} alt={title}
/> />
{{ description } !== '' && (
<Typography variant='body2'>{description}</Typography> <Typography variant='body2'>{description}</Typography>
)}
<CardActionArea> <CardActionArea>
<CardContent <CardContent
color='white' color='white'
+22 -18
View File
@@ -5,12 +5,17 @@ import {
DeepSpaceSparkle, DeepSpaceSparkle,
White, White,
Cadet, Cadet,
Mango,
Black, Black,
GrannySmithApple, GrannySmithApple,
UARed, UARed,
OuterSpaceCrayola, OuterSpaceCrayola,
ChartreuseTraditional,
Charcoal,
Cultured,
SeaGreenCrayola, SeaGreenCrayola,
VioletColorWheel, VioletColorWheel,
AcidGreen,
} from './Colors'; } from './Colors';
// Main layout // Main layout
@@ -21,41 +26,40 @@ export const MainTheme = (mode) => ({
? { ? {
// palette values for light mode // palette values for light mode
primary: { primary: {
main: DeepSpaceSparkle, main: Charcoal,
contrastText: White, contrastText: AcidGreen,
}, },
secondary: { secondary: {
main: Cadet, main: UARed,
contrastText: White, contrastText: AcidGreen,
}, },
divider: DeepSpaceSparkle, divider: White,
background: { background: {
default: White, default: Charcoal,
paper: DeepSpaceSparkle, paper: Charcoal,
}, },
text: { text: {
primary: Black, primary: AcidGreen,
secondary: White, secondary: AcidGreen,
}, }, }
}
: { : {
// palette values for dark mode // palette values for dark mode
primary: { primary: {
main: GrannySmithApple, main: GrannySmithApple,
contrastText: White, contrastText: AcidGreen,
}, },
secondary: { secondary: {
main: UARed, main: UARed,
contrastText: White, contrastText: AcidGreen,
}, },
divider: Cadet, divider: AcidGreen,
background: { background: {
default: OuterSpaceCrayola, default: Charcoal,
paper: OuterSpaceCrayola, paper: Charcoal,
}, },
text: { text: {
primary: White, primary: AcidGreen,
secondary: White, secondary: AcidGreen,
}, },
}), }),
lightAccent: { main: VioletColorWheel }, lightAccent: { main: VioletColorWheel },