diff --git a/src/index.css b/src/index.css
index fc9b88f..49776bb 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1,67 +1,70 @@
body {
- margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
- 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
- 'Helvetica Neue', sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
+ margin: 0;
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
+ 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
+ 'Helvetica Neue', sans-serif;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ box-sizing: border-box;
}
code {
- font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
- monospace;
+ font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
+ monospace;
}
-[data-theme='1']{
- --primary: #0066CC;
- --primary-content: #ffffff;
- --secondary: #f000b8,
- --secondary-content: #ffffff;
- --accent: #37cdbe;
- --accent-content: #163835;
- --neutral: #3d4451;
- --neutral-content: #ffffff;
- --base-100: #ffffff;
- --base-200: #F2F2F2;
- --base-300: #E5E6E6;
- --base-content: #1f2937;
+[data-theme='1'] {
+ --primary: #06c;
+ --primary-content: #fff;
+ --secondary: #f000b8;
+ --secondary-content: #fff;
+ --accent: #37cdbe;
+ --accent-content: #163835;
+ --neutral: #3d4451;
+ --neutral-content: #fff;
+ --base-100: #fff;
+ --base-200: #f2f2f2;
+ --base-300: #e5e6e6;
+ --base-content: #1f2937;
}
[data-theme='2'] {
- --primary: #661AE6;
- --primary-content: #ffffff;
- --secondary: #D926AA;
- --secondary-content: #ffffff;
- --accent: #1FB2A5;
- --accent-content: #ffffff;
- --neutral: #191D24;
- --neutral-focus: #111318;
- --neutral-content: #A6ADBB;
- --base-100: #2A303C;
- --base-200: #242933;
- --base-300: #20252E;
- --base-content: #A6ADBB;
+ --primary: #661ae6;
+ --primary-content: #fff;
+ --secondary: #d926aa;
+ --secondary-content: #fff;
+ --accent: #1fb2a5;
+ --accent-content: #fff;
+ --neutral: #191d24;
+ --neutral-focus: #111318;
+ --neutral-content: #a6adbb;
+ --base-100: #2a303c;
+ --base-200: #242933;
+ --base-300: #20252e;
+ --base-content: #a6adbb;
}
+
[data-theme='3'] {
- --primary : #ef9995;
- --primary-content: #282425;
- --secondary : #a4cbb4;
- --secondary-content: #282425;
- --accent : #ebdc99;
- --accent-content: #282425;
- --neutral : #7d7259;
- --neutral-content: #e4d8b4;
- --base-100: #e4d8b4;
- --base-200: #d2c59d;
- --base-300: #c6b386;
- --base-content: #282425;
- --info: #2563eb;
- --success: #16a34a;
- --warning: #d97706;
- --error: #dc2626;
+ --primary: #ef9995;
+ --primary-content: #282425;
+ --secondary: #a4cbb4;
+ --secondary-content: #282425;
+ --accent: #ebdc99;
+ --accent-content: #282425;
+ --neutral: #7d7259;
+ --neutral-content: #e4d8b4;
+ --base-100: #e4d8b4;
+ --base-200: #d2c59d;
+ --base-300: #c6b386;
+ --base-content: #282425;
+ --info: #2563eb;
+ --success: #16a34a;
+ --warning: #d97706;
+ --error: #dc2626;
}
+
html {
- background-color: var(--base-100);
- color: var(--base-content);
+ background-color: var(--base-100);
+ color: var(--base-content);
}
diff --git a/src/s1-main/App.tsx b/src/s1-main/App.tsx
index d657b26..9d943eb 100644
--- a/src/s1-main/App.tsx
+++ b/src/s1-main/App.tsx
@@ -1,4 +1,5 @@
import React from 'react'
+import HW2 from '../s2-homeworks/hw02/HW2'
import s from './App.module.css'
import HW1 from '../s2-homeworks/hw01/HW1'
// import HW2 from '../s2-homeworks/hw02/HW2'
@@ -9,22 +10,22 @@ import { useSelector } from 'react-redux'
import { useEffect } from 'react'
const App = () => {
- const themeId = useSelector((state: any) => state.theme.themeId)
- useEffect(() => {
- document.documentElement.dataset.theme = themeId
- }, [themeId])
- return (
-
- {/*
react homeworks:
*/}
+ const themeId = useSelector((state: any) => state.theme.themeId)
+ useEffect(() => {
+ document.documentElement.dataset.theme = themeId
+ }, [themeId])
+ return (
+
+ {/*
react homeworks:
*/}
-
- {/*
*/}
- {/*
*/}
- {/*
*/}
+ {/*
*/}
+
+ {/*
*/}
+ {/*
*/}
- {/*
*/}
-
- )
+ {/*
*/}
+
+ )
}
export default App
diff --git a/src/s2-homeworks/hw01/HW1.tsx b/src/s2-homeworks/hw01/HW1.tsx
index a7eea21..0f4e9ca 100644
--- a/src/s2-homeworks/hw01/HW1.tsx
+++ b/src/s2-homeworks/hw01/HW1.tsx
@@ -55,9 +55,9 @@ const HW1 = () => {
-
+ {/*
*/}
{/*можно убрать этот тег*/}
-
+ {/*
*/}
{/*можно убрать этот тег*/}
)
diff --git a/src/s2-homeworks/hw02/Affair.tsx b/src/s2-homeworks/hw02/Affair.tsx
index af39726..3fe9c2e 100644
--- a/src/s2-homeworks/hw02/Affair.tsx
+++ b/src/s2-homeworks/hw02/Affair.tsx
@@ -1,5 +1,5 @@
import React from 'react'
-import {AffairType} from './HW2'
+import { AffairType } from './HW2'
import s from './Affairs.module.css'
type AffairPropsType = {
@@ -14,24 +14,24 @@ function Affair(props: AffairPropsType) {
const priorityClass = s.item + ' ' + s[props.affair.priority]
return (
-
-
+
+
{/*создаёт студент*/}
{props.affair.name}
{/**/}
- [
-
- {/*создаёт студент*/}
- {props.affair.priority}
- {/**/}
-
- ]
+ {/*[*/}
+ {/*
*/}
+ {/* /!*создаёт студент*!/*/}
+ {/* {props.affair.priority}*/}
+ {/* /!**!/*/}
+ {/*
*/}
+ {/*]*/}