diff options
author | Michael Hunteman <michael@huntm.net> | 2024-05-17 16:13:44 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-05-17 16:13:44 -0700 |
commit | 141d90b13cb6983d77bbde589eb57b1c75775262 (patch) | |
tree | 4765087b7130de1135df468fcd5941b751f2be58 /client | |
parent | 8a6017c059129fa2da1a13d7a8729794e51561de (diff) |
Switch light and dark mode toggles
Diffstat (limited to 'client')
-rw-r--r-- | client/src/components/Desktop.tsx | 2 | ||||
-rw-r--r-- | client/src/components/Mobile.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/components/Desktop.tsx b/client/src/components/Desktop.tsx index 13de4ee..72b583d 100644 --- a/client/src/components/Desktop.tsx +++ b/client/src/components/Desktop.tsx @@ -20,7 +20,7 @@ function Desktop() { </Button> ))} <IconButton color="inherit" onClick={toggleColorMode}> - {theme.palette.mode === 'dark' ? <LightModeIcon /> : <DarkModeIcon />} + {theme.palette.mode === 'dark' ? <DarkModeIcon /> : <LightModeIcon />} </IconButton> </div> ); diff --git a/client/src/components/Mobile.tsx b/client/src/components/Mobile.tsx index 2e7b15c..7d790e1 100644 --- a/client/src/components/Mobile.tsx +++ b/client/src/components/Mobile.tsx @@ -25,7 +25,7 @@ function Mobile() { return ( <> <IconButton color="inherit" onClick={toggleColorMode}> - {theme.palette.mode === 'dark' ? <LightModeIcon /> : <DarkModeIcon />} + {theme.palette.mode === 'dark' ? <DarkModeIcon /> : <LightModeIcon />} </IconButton> <IconButton color="inherit" |