Switch web UI to dark English interface

This commit is contained in:
Knutwurst committed 2026-06-23 08:17:12 +02:00
1 parent 56f54fc1a0
commit 64bce0a3b5
4 files changed
+120 -119

No files matched your search

+49 -48
View File
@@ -1,21 +1,21 @@
:root {
color-scheme: light;
--bg: #f6f7f4;
--surface: #ffffff;
--surface-2: #eeefe9;
--ink: #1f2420;
--muted: #697069;
--border: #d7dbd2;
--green: #247857;
--green-dark: #155f42;
--green-soft: #dff3e9;
--amber: #b87516;
--amber-soft: #fff1d6;
--red: #b54343;
--red-soft: #ffe4e4;
--blue: #2d6d9d;
--blue-soft: #deeff8;
--shadow: 0 18px 50px rgba(31, 36, 32, 0.1);
color-scheme: dark;
--bg: #0b0d10;
--surface: #14181d;
--surface-2: #1b2027;
--ink: #edf2f7;
--muted: #9aa6b2;
--border: #2a313a;
--green: #38c172;
--green-dark: #63d994;
--green-soft: rgba(56, 193, 114, 0.16);
--amber: #f2b84b;
--amber-soft: rgba(242, 184, 75, 0.16);
--red: #ff6b6b;
--red-soft: rgba(255, 107, 107, 0.15);
--blue: #58a6ff;
--blue-soft: rgba(88, 166, 255, 0.15);
--shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
--radius: 8px;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@@ -69,9 +69,9 @@ svg {
top: 0;
height: 100vh;
padding: 20px 16px;
background: #1e241f;
color: #f7f8f4;
border-right: 1px solid #111611;
background: #0f1216;
color: var(--ink);
border-right: 1px solid #222932;
}
.brand {
@@ -87,8 +87,8 @@ svg {
place-items: center;
width: 42px;
height: 42px;
border: 1px solid rgba(255, 255, 255, 0.18);
background: #2b6f50;
border: 1px solid rgba(255, 255, 255, 0.16);
background: #247857;
border-radius: 8px;
font-weight: 800;
}
@@ -101,7 +101,7 @@ svg {
.brand span {
display: block;
margin-top: 2px;
color: #b8c2ba;
color: var(--muted);
font-size: 12px;
}
@@ -116,14 +116,14 @@ svg {
gap: 10px;
min-height: 40px;
padding: 0 10px;
color: #cbd3cc;
color: #b6c0ca;
text-decoration: none;
border-radius: 8px;
}
.nav-link:hover,
.nav-link.is-active {
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.08);
color: #ffffff;
}
@@ -230,7 +230,7 @@ h2 {
border: 1px solid var(--border);
background: var(--surface);
border-radius: var(--radius);
box-shadow: 0 1px 0 rgba(31, 36, 32, 0.04);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}
.metric span,
@@ -298,7 +298,7 @@ h2 {
.segmented button.is-selected {
background: var(--surface);
color: var(--ink);
box-shadow: 0 1px 2px rgba(31, 36, 32, 0.08);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}
.game-grid {
@@ -315,7 +315,7 @@ h2 {
border: 1px solid var(--border);
background: var(--surface);
border-radius: var(--radius);
box-shadow: 0 1px 0 rgba(31, 36, 32, 0.04);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}
.game-title {
@@ -366,31 +366,31 @@ h2 {
}
.pill.ok {
border-color: #b7dec9;
border-color: rgba(56, 193, 114, 0.34);
background: var(--green-soft);
color: var(--green-dark);
}
.pill.warn {
border-color: #f0cd91;
border-color: rgba(242, 184, 75, 0.38);
background: var(--amber-soft);
color: #81500b;
color: var(--amber);
}
.pill.external {
border-color: #b7d8e8;
border-color: rgba(88, 166, 255, 0.34);
background: var(--blue-soft);
color: #1e547a;
color: var(--blue);
}
.pill.shadow {
border-color: #d0c4eb;
background: #eee8fb;
color: #584080;
border-color: rgba(181, 146, 255, 0.34);
background: rgba(181, 146, 255, 0.14);
color: #c7b1ff;
}
.pill.blocked {
border-color: #f0b8b8;
border-color: rgba(255, 107, 107, 0.34);
background: var(--red-soft);
color: var(--red);
}
@@ -414,7 +414,7 @@ h2 {
.version-box {
min-width: 0;
padding: 10px;
background: #f8f9f6;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 8px;
}
@@ -497,7 +497,7 @@ h2 {
gap: 12px;
align-items: center;
padding: 12px;
background: #f8f9f6;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 8px;
}
@@ -521,7 +521,7 @@ h2 {
height: 8px;
margin-top: 10px;
overflow: hidden;
background: #e3e6de;
background: #242b33;
border-radius: 999px;
}
@@ -555,7 +555,7 @@ h2 {
min-height: 38px;
padding: 0 10px;
border: 1px solid var(--border);
background: #f8f9f6;
background: var(--surface-2);
color: var(--ink);
border-radius: 8px;
}
@@ -566,7 +566,7 @@ h2 {
gap: 10px;
padding: 10px;
border: 1px solid var(--border);
background: #f8f9f6;
background: var(--surface-2);
border-radius: 8px;
}
@@ -622,7 +622,7 @@ h2 {
gap: 8px;
align-items: center;
padding: 8px;
background: #f8f9f6;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 8px;
}
@@ -646,7 +646,7 @@ h2 {
min-height: 26px;
padding: 0 8px;
background: var(--blue-soft);
color: #1e547a;
color: var(--blue);
border-radius: 999px;
font-size: 12px;
font-weight: 800;
@@ -662,8 +662,8 @@ pre {
margin: 0;
padding: 12px;
overflow: auto;
background: #1f2420;
color: #e9eee8;
background: #0f1216;
color: #dfe7ef;
border-radius: 8px;
font-size: 12px;
line-height: 1.55;
@@ -685,8 +685,9 @@ pre {
z-index: 10;
max-width: min(420px, calc(100vw - 36px));
padding: 12px 14px;
color: #ffffff;
background: #1f2420;
color: var(--ink);
background: #171c22;
border: 1px solid var(--border);
border-radius: 8px;
box-shadow: var(--shadow);
opacity: 0;