diff --git a/src/components/Sidebar/SidebarData.tsx b/src/components/Sidebar/SidebarData.tsx
index 5136b3b..53c3f5e 100644
--- a/src/components/Sidebar/SidebarData.tsx
+++ b/src/components/Sidebar/SidebarData.tsx
@@ -50,7 +50,7 @@ const useSidebarData = () => {
{
id: '7',
name: 'Settings',
- link: '',
+ link: 'einstellungen',
icon: GoGear,
},
{
diff --git a/src/components/Sidebar/SidebarItem.module.css b/src/components/Sidebar/SidebarItem.module.css
index 4641ad2..cdb2a7e 100644
--- a/src/components/Sidebar/SidebarItem.module.css
+++ b/src/components/Sidebar/SidebarItem.module.css
@@ -12,24 +12,24 @@
padding: 0 3px 0 15px;
align-items: center;
gap: 9px;
- color: var(--Grayscale-Black, #24262B);
+ color: var(--color-text);
}
.menu li:hover, .menu li.active {
- background: var(--Brand-Purple-Purple, #5F59D4);
- color: white;
+ background: var(--color-secondary);
+ color: var(--color-bg);
border-top-right-radius: 12px;
border-bottom-right-radius: 12px;
}
.menu li:hover a, .menu li.active a {
- color: white;
+ color: var(--color-bg);
text-decoration: none;
}
.menu li a {
text-decoration: none;
- font-family: Avenir, Helvetica, Arial, sans-serif;
+ font-family: var(--font-family);
font-size: 14px;
font-style: normal;
font-weight: 500;
diff --git a/src/components/Sidebar/SidebarSubmenu.module.css b/src/components/Sidebar/SidebarSubmenu.module.css
index 2d128a4..480ce38 100644
--- a/src/components/Sidebar/SidebarSubmenu.module.css
+++ b/src/components/Sidebar/SidebarSubmenu.module.css
@@ -1,6 +1,6 @@
.submenu {
position: relative;
- background-color: white;
+ background-color: var(--color-bg);
overflow: hidden;
}
@@ -19,7 +19,7 @@
.verticalLine {
width: 1px;
- background-color: #F1F1F1;
+ background-color: var(--color-gray-disabled);
margin-left: 46px;
margin-right: -40px;
}
@@ -32,7 +32,7 @@
.submenuList li {
width: 153px;
height: 20px;
- color: var(--Grayscale-Black, #24262B);
+ color: var(--color-text);
margin: 4px 0;
position: relative;
overflow: hidden;
@@ -44,10 +44,11 @@
font-style: normal;
font-weight: 500;
line-height: normal;
- color: var(--Grayscale-Black, #24262B);
+ color: var(--color-text);
text-decoration: none;
display: block;
overflow: hidden;
+ font-family: var(--font-family);
}
.textContainer {
diff --git a/src/components/Sidebar/SidebarUser.module.css b/src/components/Sidebar/SidebarUser.module.css
index e5b67c6..6e8cc22 100644
--- a/src/components/Sidebar/SidebarUser.module.css
+++ b/src/components/Sidebar/SidebarUser.module.css
@@ -7,6 +7,7 @@
flex-direction: column;
align-items: flex-start;
gap: 8px;
+ font-family: var(--font-family);
}
.user_info {
@@ -18,7 +19,7 @@
.user_icon {
font-size: 40px;
- color: #666;
+ color: var(--color-gray);
flex-shrink: 0;
}
@@ -32,32 +33,37 @@
margin: 0;
font-size: 16pt;
line-height: 1.2;
+ color: var(--color-text);
+ font-family: var(--font-family);
}
.user_section p {
margin: 0;
font-size: 0.9rem;
- color: #666;
+ color: var(--color-gray);
+ font-family: var(--font-family);
}
.logout_button {
margin-top: 4px;
padding: 8px 16px;
- background-color: var(--Brand-Purple-Purple, #5F59D4);
- color: white;
+ background-color: var(--color-secondary);
+ color: var(--color-bg);
border: none;
- border-radius: 4px;
+ border-radius: 15px;
cursor: pointer;
font-size: 14px;
+ font-family: var(--font-family);
transition: background-color 0.2s;
width: 100%;
}
.logout_button:hover {
+ background-color: var(--color-secondary-hover);
cursor: pointer;
}
.logout_button:active {
- background-color: #b71c1c;
+ background-color: var(--color-red);
}
diff --git a/src/pages/Dashboard.module.css b/src/pages/Dashboard.module.css
index e560362..8578ecd 100644
--- a/src/pages/Dashboard.module.css
+++ b/src/pages/Dashboard.module.css
@@ -3,6 +3,7 @@
display: flex;
flex-direction: column;
gap: 20px;
+ font-family: var(--font-family);
}
.chatLogContainer {
diff --git a/src/pages/Dateien/Dateien.module.css b/src/pages/Dateien/Dateien.module.css
index 3faa985..4e798eb 100644
--- a/src/pages/Dateien/Dateien.module.css
+++ b/src/pages/Dateien/Dateien.module.css
@@ -5,17 +5,18 @@
flex-direction: column;
align-self: stretch;
border-radius: 30px;
- border: 1px solid var(--f-1-f-1-f-1, #F1F1F1);
- background: var(--Grayscale-True-White, #FFF);
+ border: 1px solid var(--color-gray-disabled);
+ background: var(--color-bg);
position: relative;
box-shadow: 0px 2px 6px 0px rgba(194, 194, 194, 0.10);
max-height: calc(100vh - 100px);
overflow: hidden;
+ font-family: var(--font-family);
}
.horizontalLineLight {
width: calc(100% + 60px);
- background-color: #F1F1F1;
+ background-color: var(--color-gray-disabled);
height: 1px;
margin-left: -30px;
margin-bottom: 0;
@@ -34,8 +35,8 @@
.datei_hinzufügen_button {
border-radius: 30px;
- background: #3a8080;
- color: #fff;
+ background: var(--color-secondary);
+ color: var(--color-bg);
border: none;
outline: none;
text-align: left;
@@ -48,11 +49,12 @@
align-items: center;
flex-shrink: 0;
transition: background-color 0.2s ease;
+ font-family: var(--font-family);
}
.datei_hinzufügen_button:hover {
cursor: pointer;
- background-color: #34737b;
+ background-color: var(--color-secondary-hover);
}
.add_icon {
@@ -87,19 +89,19 @@
transition: all 0.2s ease;
white-space: nowrap;
position: relative;
+ font-family: var(--font-family);
}
.tabButtonActive {
- color: var(--Grayscale-Black, #24262B);
+ color: var(--color-text);
}
.tabButtonInactive {
- color: #A0A0A0;
+ color: var(--color-gray);
}
.tabButtonInactive:hover {
- background-color: var(--background-color-hover, #f5f5f5);
- color: var(--text-color-primary, #333);
+ color: var(--color-text);
}
.tabUnderline {
@@ -107,7 +109,7 @@
bottom: -2px;
left: 0;
height: 1px;
- background-color: var(--Grayscale-Black, #24262B);
+ background-color: var(--color-text);
border-radius: 1px;
}
diff --git a/src/pages/Einstellungen/Einstellungen.module.css b/src/pages/Einstellungen/Einstellungen.module.css
new file mode 100644
index 0000000..e44b5eb
--- /dev/null
+++ b/src/pages/Einstellungen/Einstellungen.module.css
@@ -0,0 +1,168 @@
+.einstellungenContainer {
+ margin: 51px 49px 0 36px;
+ display: flex;
+ flex-direction: column;
+ align-self: stretch;
+ max-height: calc(100vh - 100px);
+ overflow: hidden;
+ font-family: var(--font-family);
+}
+
+.contentWrapper {
+ flex: 1;
+ overflow-y: auto;
+ padding: 20px 0;
+}
+
+.settingsCard {
+ display: flex;
+ padding: 30px;
+ flex-direction: column;
+ align-self: stretch;
+ border-radius: 30px;
+ background: var(--color-bg);
+ position: relative;
+ box-shadow: 0px 2px 6px 0px rgba(194, 194, 194, 0.10);
+ max-width: 800px;
+ margin: 0 auto;
+ gap: 30px;
+}
+
+.title {
+ font-size: 2rem;
+ font-weight: 600;
+ color: var(--color-text);
+ margin: 0 0 20px 0;
+ font-family: var(--font-family);
+}
+
+.settingsSection {
+ display: flex;
+ flex-direction: column;
+ gap: 20px;
+}
+
+.sectionTitle {
+ font-size: 1.25rem;
+ font-weight: 500;
+ color: var(--color-text);
+ margin: 0;
+ padding-bottom: 10px;
+ border-bottom: 1px solid var(--color-gray-disabled);
+ font-family: var(--font-family);
+}
+
+.settingItem {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 20px;
+ background: var(--color-surface);
+ border-radius: 20px;
+ gap: 20px;
+}
+
+.settingInfo {
+ display: flex;
+ flex-direction: column;
+ gap: 5px;
+ flex: 1;
+}
+
+.settingLabel {
+ font-size: 1rem;
+ font-weight: 500;
+ color: var(--color-text);
+ font-family: var(--font-family);
+}
+
+.settingDescription {
+ font-size: 0.875rem;
+ color: var(--color-gray);
+ font-family: var(--font-family);
+}
+
+.themeToggle {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ padding: 12px 20px;
+ border-radius: 25px;
+ border: 2px solid var(--color-gray-disabled);
+ background: var(--color-bg);
+ color: var(--color-text);
+ cursor: pointer;
+ transition: all 0.3s ease;
+ font-family: var(--font-family);
+ font-size: 0.875rem;
+ font-weight: 500;
+ min-width: 120px;
+}
+
+.themeToggle:hover {
+ border-color: var(--color-secondary);
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(63, 81, 181, 0.15);
+}
+
+.themeToggle.light {
+ background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 100%);
+}
+
+.themeToggle.dark {
+ background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg) 100%);
+ border-color: var(--color-primary);
+}
+
+.themeToggle.dark:hover {
+ border-color: var(--color-primary-hover);
+ box-shadow: 0 4px 12px rgba(178, 102, 255, 0.15);
+}
+
+.toggleSlider {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 28px;
+ height: 28px;
+ border-radius: 50%;
+ background: var(--color-secondary);
+ transition: all 0.3s ease;
+}
+
+.dark .toggleSlider {
+ background: var(--color-primary);
+}
+
+.toggleIcon {
+ font-size: 16px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.toggleLabel {
+ color: var(--color-text);
+ font-weight: 500;
+}
+
+/* Responsive design */
+@media (max-width: 768px) {
+ .einstellungenContainer {
+ margin: 20px;
+ }
+
+ .settingsCard {
+ padding: 20px;
+ }
+
+ .settingItem {
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 15px;
+ }
+
+ .themeToggle {
+ align-self: flex-end;
+ }
+}
\ No newline at end of file
diff --git a/src/pages/Einstellungen/Einstellungen.tsx b/src/pages/Einstellungen/Einstellungen.tsx
new file mode 100644
index 0000000..36c0313
--- /dev/null
+++ b/src/pages/Einstellungen/Einstellungen.tsx
@@ -0,0 +1,82 @@
+import React, { useState, useEffect } from 'react';
+import styles from './Einstellungen.module.css';
+
+function Einstellungen() {
+ const [isDarkMode, setIsDarkMode] = useState(false);
+
+ // Load saved theme preference on component mount
+ useEffect(() => {
+ const savedTheme = localStorage.getItem('theme');
+ const prefersDark = savedTheme === 'dark' || (!savedTheme && window.matchMedia('(prefers-color-scheme: dark)').matches);
+ setIsDarkMode(prefersDark);
+ applyTheme(prefersDark);
+ }, []);
+
+ const applyTheme = (isDark: boolean) => {
+ if (isDark) {
+ document.documentElement.classList.add('dark-theme');
+ document.documentElement.classList.remove('light-theme');
+ } else {
+ document.documentElement.classList.add('light-theme');
+ document.documentElement.classList.remove('dark-theme');
+ }
+ document.documentElement.setAttribute('data-theme', isDark ? 'dark' : 'light');
+ };
+
+ const toggleTheme = () => {
+ const newIsDarkMode = !isDarkMode;
+ setIsDarkMode(newIsDarkMode);
+ applyTheme(newIsDarkMode);
+ localStorage.setItem('theme', newIsDarkMode ? 'dark' : 'light');
+ };
+
+ return (
+
+
+
+
Einstellungen
+
+
+
Darstellung
+
+
+
+ Theme
+
+ Wechseln Sie zwischen hellem und dunklem Modus
+
+
+
+
+
+
+
+
+
+
+
+ );
+}
+
+export default Einstellungen;
\ No newline at end of file
diff --git a/src/pages/Home.module.css b/src/pages/Home.module.css
index 9aa5cd2..7fef3c5 100644
--- a/src/pages/Home.module.css
+++ b/src/pages/Home.module.css
@@ -1,10 +1,10 @@
.homeContainer {
position: relative;
- background-color: #F7F7F7;
+ background-color: var(--color-surface);
min-height: calc(100vh - 15px);
max-height: calc(100vh - 15px);
width: 100%;
- font-family: Arial, Helvetica, sans-serif;
+ font-family: var(--font-family);
z-index: 0;
overflow: hidden;
padding: 0 49px 0 36px;
@@ -16,10 +16,9 @@
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
- background-image: url('../../assets/background.png');
- background-repeat: repeat;
- background-size: 50px;
- opacity: 0.2; /* Adjust this to your liking */
+ background-image: radial-gradient(circle, var(--color-gray-disabled) 1px, transparent 1px);
+ background-size: 8px 8px;
+ opacity: 0.4;
z-index: -1;
pointer-events: none;
}
diff --git a/src/pages/Login.module.css b/src/pages/Login.module.css
index 9cf55d6..854b927 100644
--- a/src/pages/Login.module.css
+++ b/src/pages/Login.module.css
@@ -1,7 +1,7 @@
.container {
display: flex;
min-height: 100vh;
- background-color: #ffffff;
+ background-color: var(--color-bg);
}
.leftPanel {
@@ -9,12 +9,12 @@
display: flex;
flex-direction: column;
padding: 3rem;
- background-color: #ffffff;
+ background-color: var(--color-bg);
}
.rightPanel {
flex: 1;
- background-color: #ffffff;
+ background-color: var(--color-bg);
display: flex;
align-items: center;
justify-content: center;
@@ -38,7 +38,8 @@
font-size: 2rem;
font-weight: 600;
margin-bottom: 2rem;
- color: #1a1a1a;
+ color: var(--color-text);
+ font-family: var(--font-family);
}
.loginForm {
@@ -50,21 +51,23 @@
.input {
width: 100%;
padding: 12px 16px;
- border: 1px solid #e0e0e0;
+ border: 1px solid var(--color-gray-disabled);
border-radius: 8px;
font-size: 1rem;
transition: all 0.2s ease;
- background-color: #ffffff;
+ background-color: var(--color-bg);
+ color: var(--color-text);
+ font-family: var(--font-family);
}
.input:focus {
outline: none;
- border-color: #0078d4;
- box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.1);
+ border-color: var(--color-secondary);
+ box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.1);
}
.input::placeholder {
- color: #757575;
+ color: var(--color-gray);
}
.button {
@@ -77,24 +80,25 @@
transition: all 0.2s ease;
border: none;
text-align: center;
+ font-family: var(--font-family);
}
.primaryButton {
- background-color: #0078d4;
- color: white;
+ background-color: var(--color-secondary);
+ color: var(--color-bg);
}
.primaryButton:hover {
- background-color: #006cbd;
+ background-color: var(--color-secondary-hover);
}
.microsoftButton {
- background-color: #2f2f2f;
- color: white;
+ background-color: var(--color-text);
+ color: var(--color-bg);
}
.microsoftButton:hover {
- background-color: #1f1f1f;
+ background-color: var(--color-gray);
}
.divider {
@@ -108,13 +112,14 @@
.divider::after {
content: '';
flex: 1;
- border-bottom: 1px solid #e0e0e0;
+ border-bottom: 1px solid var(--color-gray-disabled);
}
.divider span {
padding: 0 1rem;
- color: #757575;
+ color: var(--color-gray);
font-size: 0.9rem;
+ font-family: var(--font-family);
}
.registerLink {
@@ -126,18 +131,20 @@
}
.registerLink span {
- color: #757575;
+ color: var(--color-gray);
font-size: 0.9rem;
+ font-family: var(--font-family);
}
.textButton {
background: none;
border: none;
- color: #0078d4;
+ color: var(--color-secondary);
font-weight: 500;
cursor: pointer;
padding: 0;
font-size: 0.9rem;
+ font-family: var(--font-family);
}
.textButton:hover {
@@ -161,12 +168,13 @@ button:disabled {
}
.error {
- color: #dc3545;
- background-color: #f8d7da;
- border: 1px solid #f5c6cb;
+ color: var(--color-red);
+ background-color: var(--color-red-disabled);
+ border: 1px solid var(--color-red);
border-radius: 8px;
padding: 12px;
margin-bottom: 1rem;
font-size: 0.9rem;
text-align: center;
+ font-family: var(--font-family);
}
diff --git a/src/pages/Login.tsx b/src/pages/Login.tsx
index a6c1ed1..14ce531 100644
--- a/src/pages/Login.tsx
+++ b/src/pages/Login.tsx
@@ -3,8 +3,8 @@ import { loginRequest } from '../auth/authConfig';
import { useNavigate, useLocation } from 'react-router-dom';
import { useState, useEffect } from 'react';
import styles from './Login.module.css';
-import agentDiagram from '../assets/Frame 43.png';
-import logo from '../assets/LogoPowerOn.png';
+import agentDiagram from '../assets/logos/Frame 43.png';
+import logo from '../assets/logos/PowerOn.png';
import { useAuth, useMsalAuth } from '../hooks/useAuthentication';
function Login() {
diff --git a/src/pages/Mitglieder/Mitglieder.module.css b/src/pages/Mitglieder/Mitglieder.module.css
index b22b137..848edca 100644
--- a/src/pages/Mitglieder/Mitglieder.module.css
+++ b/src/pages/Mitglieder/Mitglieder.module.css
@@ -5,17 +5,18 @@
flex-direction: column;
align-self: stretch;
border-radius: 30px;
- border: 1px solid var(--f-1-f-1-f-1, #F1F1F1);
- background: var(--Grayscale-True-White, #FFF);
+ border: 1px solid var(--color-gray-disabled);
+ background: var(--color-bg);
position: relative;
box-shadow: 0px 2px 6px 0px rgba(194, 194, 194, 0.10);
max-height: calc(100vh - 100px);
overflow: hidden;
+ font-family: var(--font-family);
}
.horizontalLineLight {
width: 100%;
- background-color: #F1F1F1;
+ background-color: var(--color-gray-disabled);
height: 1px;
margin-top: 90px;
margin-left: -30px;
@@ -27,16 +28,17 @@
gap: 30px;
align-items: flex-start;
height: 62px;
- color: var(--Grayscale-Black, #24262B);
+ color: var(--color-text);
padding-top: 30px;
padding-bottom: 30px;
+ font-family: var(--font-family);
}
.mitglieder_hinzufügen_button {
border-radius: 30px;
- background: var(--Grayscale-Gray, #E9E9E9);
-
+ background: var(--color-gray-disabled);
+ color: var(--color-text);
border: none;
outline: none;
text-align: left;
@@ -48,10 +50,13 @@
display: flex;
gap: 10px;
align-items: center;
+ font-family: var(--font-family);
+ transition: background-color 0.2s ease;
}
.mitglieder_hinzufügen_button:hover {
cursor: pointer;
+ background-color: var(--color-gray);
}
.add_icon {
@@ -72,9 +77,11 @@
align-items: center;
height: 60px; /* Specific height for each item */
padding: 0 16px;
- border-bottom: 1px solid #F1F1F1;
+ border-bottom: 1px solid var(--color-gray-disabled);
font-size: 16px;
transition: background-color 0.2s ease;
+ color: var(--color-text);
+ font-family: var(--font-family);
}
.actions {
diff --git a/src/pages/Register.module.css b/src/pages/Register.module.css
index af82fcd..ecb11c2 100644
--- a/src/pages/Register.module.css
+++ b/src/pages/Register.module.css
@@ -1,7 +1,7 @@
.container {
display: flex;
min-height: 100vh;
- background-color: #ffffff;
+ background-color: var(--color-bg);
}
.leftPanel {
@@ -9,12 +9,12 @@
display: flex;
flex-direction: column;
padding: 3rem;
- background-color: #ffffff;
+ background-color: var(--color-bg);
}
.rightPanel {
flex: 1;
- background-color: #ffffff;
+ background-color: var(--color-bg);
display: flex;
align-items: center;
justify-content: center;
@@ -38,7 +38,8 @@
font-size: 2rem;
font-weight: 600;
margin-bottom: 2rem;
- color: #1a1a1a;
+ color: var(--color-text);
+ font-family: var(--font-family);
}
.registerForm {
@@ -56,27 +57,30 @@
.inputGroup label {
font-size: 0.9rem;
font-weight: 500;
- color: #1a1a1a;
+ color: var(--color-text);
+ font-family: var(--font-family);
}
.input {
width: 100%;
padding: 12px 16px;
- border: 1px solid #e0e0e0;
+ border: 1px solid var(--color-gray-disabled);
border-radius: 8px;
font-size: 1rem;
transition: all 0.2s ease;
- background-color: #ffffff;
+ background-color: var(--color-bg);
+ color: var(--color-text);
+ font-family: var(--font-family);
}
.input:focus {
outline: none;
- border-color: #0078d4;
- box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.1);
+ border-color: var(--color-secondary);
+ box-shadow: 0 0 0 2px rgba(63, 81, 181, 0.1);
}
.input::placeholder {
- color: #757575;
+ color: var(--color-gray);
}
.button {
@@ -90,30 +94,32 @@
border: none;
text-align: center;
margin-top: 1rem;
+ font-family: var(--font-family);
}
.primaryButton {
- background-color: #0078d4;
- color: white;
+ background-color: var(--color-secondary);
+ color: var(--color-bg);
}
.primaryButton:hover {
- background-color: #006cbd;
+ background-color: var(--color-secondary-hover);
}
.primaryButton:disabled {
- background-color: #cccccc;
+ background-color: var(--color-gray-disabled);
cursor: not-allowed;
}
.error {
- color: #dc3545;
- background-color: #f8d7da;
- border: 1px solid #f5c6cb;
+ color: var(--color-red);
+ background-color: var(--color-red-disabled);
+ border: 1px solid var(--color-red);
border-radius: 8px;
padding: 12px;
font-size: 0.9rem;
text-align: center;
+ font-family: var(--font-family);
}
.loginLink {
@@ -123,22 +129,24 @@
gap: 0.5rem;
margin-top: 1.5rem;
padding-top: 1.5rem;
- border-top: 1px solid #e0e0e0;
+ border-top: 1px solid var(--color-gray-disabled);
}
.loginLink span {
- color: #757575;
+ color: var(--color-gray);
font-size: 0.9rem;
+ font-family: var(--font-family);
}
.textButton {
background: none;
border: none;
- color: #0078d4;
+ color: var(--color-secondary);
font-weight: 500;
cursor: pointer;
padding: 0;
font-size: 0.9rem;
+ font-family: var(--font-family);
}
.textButton:hover {
@@ -159,7 +167,7 @@
/* Required field indicator */
label[htmlFor]::after {
content: ' *';
- color: #dc3545;
+ color: var(--color-red);
}
.msalButton {
@@ -169,21 +177,23 @@ label[htmlFor]::after {
gap: 10px;
width: 100%;
padding: 10px;
- background-color: #fff;
- border: 1px solid #ccc;
+ background-color: var(--color-bg);
+ border: 1px solid var(--color-gray-disabled);
border-radius: 4px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.2s;
margin-bottom: 20px;
+ color: var(--color-text);
+ font-family: var(--font-family);
}
.msalButton:hover {
- background-color: #f5f5f5;
+ background-color: var(--color-surface);
}
.msalButton:disabled {
- background-color: #f5f5f5;
+ background-color: var(--color-surface);
cursor: not-allowed;
}
@@ -203,11 +213,12 @@ label[htmlFor]::after {
.divider::after {
content: '';
flex: 1;
- border-bottom: 1px solid #ccc;
+ border-bottom: 1px solid var(--color-gray-disabled);
}
.divider span {
- padding: 0 10px;
- color: #666;
- font-size: 14px;
+ padding: 0 1rem;
+ color: var(--color-gray);
+ font-size: 0.9rem;
+ font-family: var(--font-family);
}
diff --git a/src/pages/Register.tsx b/src/pages/Register.tsx
index 9de5715..f409af3 100644
--- a/src/pages/Register.tsx
+++ b/src/pages/Register.tsx
@@ -1,8 +1,8 @@
import { useState } from 'react';
import { useNavigate } from 'react-router-dom';
import styles from './Register.module.css';
-import logo from '../assets/LogoPowerOn.png';
-import agentDiagram from '../assets/Frame 43.png';
+import logo from '../assets/logos/PowerOn.png';
+import agentDiagram from '../assets/logos/Frame 43.png';
import { useRegister, useMsalRegister } from '../hooks/useAuthentication';
interface RegisterFormData {