[fix](trx-frontend-http): restore tabs and retune dark theme

Fix authenticated refresh by restoring tab visibility during startup, and retune dark mode toward deep blue with amber-red accents.

Co-authored-by: OpenAI Codex <codex@openai.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-02-13 20:31:12 +01:00
parent 1d0db79ca3
commit 0de1d1bd6b
2 changed files with 23 additions and 22 deletions
@@ -1288,6 +1288,7 @@ async function initializeApp() {
if (authStatus.authenticated) { if (authStatus.authenticated) {
// User has valid session // User has valid session
authRole = authStatus.role; authRole = authStatus.role;
hideAuthGate();
updateAuthUI(); updateAuthUI();
applyAuthRestrictions(); applyAuthRestrictions();
connect(); connect();
@@ -1,30 +1,30 @@
:root { :root {
--bg: #0d1117; --bg: #070d1a;
--card-bg: #161b22; --card-bg: #0f172a;
--input-bg: #0f1720; --input-bg: #0b1324;
--border: #1f2a35; --border: #22324a;
--border-light: #2d3748; --border-light: #304766;
--text: #e5e7eb; --text: #e7edf9;
--text-muted: #9aa4b5; --text-muted: #91a3bd;
--text-heading: #c5cedd; --text-heading: #c6d5ea;
--btn-bg: #1f2937; --btn-bg: #16243a;
--btn-border: #394455; --btn-border: #3a5274;
--accent-green: #00d17f; --accent-green: #c24b1a;
--accent-yellow: #f0ad4e; --accent-yellow: #f0ad4e;
--accent-red: #e55353; --accent-red: #e55353;
--control-height: 2.6rem; --control-height: 2.6rem;
--jog-hi: #2a3444; --jog-hi: #243a5b;
--jog-lo: #1a2230; --jog-lo: #14233a;
--jog-shadow: rgba(0,0,0,0.3); --jog-shadow: rgba(0,0,0,0.3);
--jog-inset: rgba(255,255,255,0.05); --jog-inset: rgba(255,255,255,0.05);
--audio-level-bg: #1f2937; --audio-level-bg: #14263f;
--audio-level-border: #2d3748; --audio-level-border: #304766;
--audio-level-fill-start: #00d17f; --audio-level-fill-start: #c24b1a;
--audio-level-fill-end: #f0ad4e; --audio-level-fill-end: #f0ad4e;
--filter-bg: #1b2431; --filter-bg: #13253e;
--filter-fg: #e5e7eb; --filter-fg: #e7edf9;
--filter-border: #334155; --filter-border: #385577;
--wavelength-fg: #8f9daf; --wavelength-fg: #8da3be;
--jog-wheel-size: 83.2px; --jog-wheel-size: 83.2px;
} }
@@ -39,7 +39,7 @@
--text-heading: #2d3748; --text-heading: #2d3748;
--btn-bg: #e6edf8; --btn-bg: #e6edf8;
--btn-border: #a9b8cf; --btn-border: #a9b8cf;
--accent-green: #0f9d61; --accent-green: #b04317;
--accent-yellow: #b57600; --accent-yellow: #b57600;
--accent-red: #cf3f3f; --accent-red: #cf3f3f;
--jog-hi: #e6edf8; --jog-hi: #e6edf8;
@@ -48,7 +48,7 @@
--jog-inset: rgba(255,255,255,0.75); --jog-inset: rgba(255,255,255,0.75);
--audio-level-bg: #edf2fb; --audio-level-bg: #edf2fb;
--audio-level-border: #b8c5da; --audio-level-border: #b8c5da;
--audio-level-fill-start: #0f9d61; --audio-level-fill-start: #b04317;
--audio-level-fill-end: #b57600; --audio-level-fill-end: #b57600;
--filter-bg: #eef3fb; --filter-bg: #eef3fb;
--filter-fg: #1f2937; --filter-fg: #1f2937;