Darkmode styling

This commit is contained in:
2026-06-17 12:51:30 +02:00
parent 4a58f49253
commit 22bbb7900a
4 changed files with 15 additions and 10 deletions
+10 -5
View File
@@ -7,16 +7,21 @@
--spacing-md: 16px; --spacing-md: 16px;
--border-radius: 6px; --border-radius: 6px;
--rundbgbackgroundcolor: #a0a0a0; --rundbgbackgroundcolor: #a0a0a0;
--sidebar-font: #fffefe;
--color: #ffffff;
} }
[data-theme='dark'] { [data-theme='dark'] {
--color-bg: #000000; --color-bg: #000000;
--color-sidebar: #570000; --color-sidebar: #b7d300;
--color-accent: #2563eb; --color-accent: #eb2525;
--color-muted: #6b7280; --color-muted: #999999;
--spacing-sm: 8px; --spacing-sm: 8px;
--spacing-md: 16px; --spacing-md: 16px;
--border-radius: 6px; --border-radius: 6px;
--rundbgbackgroundcolor: #a0a0a0; --rundbgbackgroundcolor: #505050;
--sidebar-font: #000000;
--color: #000000;
} }
@@ -8,7 +8,7 @@
} }
.diagnostics-section { .diagnostics-section {
background-color: var(--color-bg); background-color: #ffffff;
border-radius: var(--border-radius); border-radius: var(--border-radius);
padding: var(--spacing-md); padding: var(--spacing-md);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
+3 -3
View File
@@ -4,7 +4,7 @@
.sidebar { .sidebar {
width: 260px; width: 260px;
background: var(--color-sidebar); background: var(--color-sidebar);
color: #fffefe; color: var(--sidebar-font);
min-height: 100%; min-height: 100%;
padding: var(--spacing-md); padding: var(--spacing-md);
display: flex; display: flex;
@@ -15,7 +15,7 @@
ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--spacing-sm); flex: 1; } ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--spacing-sm); flex: 1; }
a, .menu-toggle { a, .menu-toggle {
color: #ffffff; color: var(--sidebar-font);
text-decoration: none; text-decoration: none;
display: block; display: block;
padding: 8px 12px; padding: 8px 12px;
@@ -41,7 +41,7 @@
.sidebar-button { .sidebar-button {
background: rgba(255, 93, 43, 0.527); background: rgba(255, 93, 43, 0.527);
color: #ffffff; color: var(--sidebar-font);
border: 1px solid rgba(255, 255, 255, 0.801); border: 1px solid rgba(255, 255, 255, 0.801);
padding: 8px 12px; padding: 8px 12px;
border-radius: 4px; border-radius: 4px;
+1 -1
View File
@@ -99,7 +99,7 @@ body {
} }
a { a {
color: #000000; color: var (--color);
text-align: center; text-align: center;
border-style: dashed; border-style: dashed;
} }