diff --git a/src/index.css b/src/index.css index 8dd5ed4..9144ae3 100644 --- a/src/index.css +++ b/src/index.css @@ -20,24 +20,3 @@ code { monospace; } -[data-theme='1'] { - - --background: #FFFFFF; - --color: #000000; -} - -[data-theme='2'] { - --color: #000000; - --background: #DDEEFF; -} - -[data-theme='3'] { - --color: #FFFFFF; - --background: #212A34; - -} - -html { - background-color: var(--background); - color: var(--color); -} diff --git a/src/s1-main/App.tsx b/src/s1-main/App.tsx index 65eae4e..9e8b29e 100644 --- a/src/s1-main/App.tsx +++ b/src/s1-main/App.tsx @@ -7,17 +7,8 @@ import HW4 from '../s2-homeworks/hw04/HW4' import HW5 from '../s2-homeworks/hw05/HW5' function App() { - // для дз 12 - // const themeId = useSelector((state: any) => state.theme.themeId) - // useEffect(() => { - // document.documentElement.dataset.theme = themeId - // }, [themeId]) - return ( -