diff --git a/src/components/AboutAmanda.jsx b/src/components/AboutAmanda.jsx index 526b42a..cda38f5 100644 --- a/src/components/AboutAmanda.jsx +++ b/src/components/AboutAmanda.jsx @@ -16,12 +16,19 @@ export function AboutAmanda() { { + return theme.palette.mode === 'dark' + ? '1px solid #f8f9fa' + : '1px solid #003780'; + }, borderRadius: '20px', padding: '1.5rem', display: 'flex', flexDirection: 'column', alignItems: 'center', + backgroundColor: (theme) => { + return theme.palette.mode === 'dark' ? '#003780' : '#f8f9fa'; + }, }} > { + return theme.palette.mode === 'dark' ? '#003780' : '#f8f9fa'; + }, + border: (theme) => { + return theme.palette.mode === 'dark' + ? '1.5px solid #f8f9fa' + : '1.5px solid #003780'; + }, + color: (theme) => { + return theme.palette.mode === 'dark' ? '#f8f9fa' : '#003780'; + }, }} > AG @@ -46,7 +63,13 @@ export function AboutAmanda() { variant="h5" component="div" textAlign="center" - sx={{ fontWeight: 'bold', marginBottom: 2 }} + sx={{ + fontWeight: 'bold', + marginBottom: 2, + color: (theme) => { + return theme.palette.mode === 'dark' ? '#f8f9fa' : '#003780'; + }, + }} > Amanda Guan @@ -59,6 +82,11 @@ export function AboutAmanda() { '&:hover': { backgroundColor: '#0058cd' }, width: 48, height: 48, + border: (theme) => { + return theme.palette.mode === 'dark' + ? '1.5px solid #f8f9fa' + : '1.5px solid #003780'; + }, }} > @@ -72,6 +100,11 @@ export function AboutAmanda() { '&:hover': { backgroundColor: '#0058cd' }, width: 48, height: 48, + border: (theme) => { + return theme.palette.mode === 'dark' + ? '1.5px solid #f8f9fa' + : '1.5px solid #003780'; + }, }} > diff --git a/src/components/AboutApp.jsx b/src/components/AboutApp.jsx index 8b8db43..6ecf1af 100644 --- a/src/components/AboutApp.jsx +++ b/src/components/AboutApp.jsx @@ -28,7 +28,9 @@ export function AboutApp() { textAlign: 'center', fontFamily: 'Newsreader', fontWeight: 400, - color: '#003780', + color: (theme) => { + return theme.palette.mode === 'dark' ? '#f8f9fa' : '#003780'; + }, }} > About This App @@ -93,6 +95,11 @@ export function AboutApp() { display: 'flex', alignItems: 'center', width: 'fit-content', + border: (theme) => { + return theme.palette.mode === 'dark' + ? '1px solid #f8f9fa' + : '1px solid #003780'; + }, }} > @@ -107,10 +114,17 @@ export function AboutApp() { mt: 2, display: { xs: 'flex', sm: 'none' }, flexDirection: 'column', - border: '1px solid #003780', + border: (theme) => { + return theme.palette.mode === 'dark' + ? '1px solid #f8f9fa' + : '1px solid #003780'; + }, borderRadius: '10px', width: '95vw', padding: '10px', + backgroundColor: (theme) => { + return theme.palette.mode === 'dark' ? '#003780' : '#f8f9fa'; + }, }} > @@ -185,6 +199,11 @@ export function AboutApp() { display: 'flex', alignItems: 'center', width: 'fit-content', + border: (theme) => { + return theme.palette.mode === 'dark' + ? '1px solid #f8f9fa' + : '1px solid #003780'; + }, }} > diff --git a/src/components/AboutDevelopers.jsx b/src/components/AboutDevelopers.jsx index 7c283f5..51148ad 100644 --- a/src/components/AboutDevelopers.jsx +++ b/src/components/AboutDevelopers.jsx @@ -51,7 +51,9 @@ export function AboutDevelopers() { mb: 4, fontWeight: 400, fontFamily: 'Newsreader', - color: '#003780', + color: (theme) => { + return theme.palette.mode === 'dark' ? '#f8f9fa' : '#003780'; + }, }} > The Developers @@ -81,8 +83,15 @@ export function AboutDevelopers() { justifyContent: 'center', alignItems: 'center', overflow: 'hidden', + border: (theme) => { + return theme.palette.mode === 'dark' + ? '1px solid #f8f9fa' + : '1px solid #003780'; + }, + backgroundColor: (theme) => { + return theme.palette.mode === 'dark' ? '#003780af' : '#f8f9fa'; + }, borderRadius: '16px', - border: '1px solid #003780', boxShadow: 3, p: 2, position: 'relative', @@ -105,7 +114,9 @@ export function AboutDevelopers() { mb: 4, fontWeight: 400, fontFamily: 'Newsreader', - color: '#003780', + color: (theme) => { + return theme.palette.mode === 'dark' ? '#f8f9fa' : '#003780'; + }, }} > The Developers @@ -116,12 +127,27 @@ export function AboutDevelopers() { steps={numOfItems} position="static" activeStep={activeIndex} - sx={{ color: '#003780', width: '80%' }} + sx={{ + color: (theme) => { + return theme.palette.mode === 'dark' ? '#f8f9fa' : '#003780'; + }, + width: '80%', + backgroundColor: (theme) => { + return theme.palette.mode === 'dark' ? '#003780' : '#f8f9fa'; + }, + }} nextButton={