From 4bf5d1a620dfe96ea9593d44cfcd0f142fcdec61 Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Mon, 27 May 2024 08:41:04 -0700 Subject: Update color palette --- client/src/components/Desktop.tsx | 3 +-- client/src/components/Home.tsx | 18 ------------------ client/src/components/active.css | 7 ------- 3 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 client/src/components/active.css (limited to 'client/src/components') diff --git a/client/src/components/Desktop.tsx b/client/src/components/Desktop.tsx index 72b583d..0aa4357 100644 --- a/client/src/components/Desktop.tsx +++ b/client/src/components/Desktop.tsx @@ -1,10 +1,9 @@ import React from 'react'; import { useContext } from 'react'; import { Link } from 'react-router-dom'; -import { Button, IconButton } from '@mui/material'; +import { Button, IconButton, useTheme } from '@mui/material'; import DarkModeIcon from '@mui/icons-material/DarkMode'; import LightModeIcon from '@mui/icons-material/LightMode'; -import { useTheme } from '@mui/material/styles'; import { ThemeContext } from '../ThemeContextProvider'; import pages from '../pages'; diff --git a/client/src/components/Home.tsx b/client/src/components/Home.tsx index 839667a..558c104 100644 --- a/client/src/components/Home.tsx +++ b/client/src/components/Home.tsx @@ -1,6 +1,5 @@ import React from 'react'; import { useEffect, useRef, useState } from 'react'; -import './active.css'; function Home() { const [index, setIndex] = useState(0); @@ -49,23 +48,6 @@ function Home() { /> ))} -
- {colors.map((_, colorIndex) => ( -
{ - setIndex(colorIndex); - }} - /> - ))} -
); } diff --git a/client/src/components/active.css b/client/src/components/active.css deleted file mode 100644 index e8b5f60..0000000 --- a/client/src/components/active.css +++ /dev/null @@ -1,7 +0,0 @@ -.active { - background-color: #1976d2 -} - -.inactive { - background-color: #c4c4c4 -} -- cgit v1.2.3