From 22e235e76a1d9eab810a7e337b6b1029cb58c616 Mon Sep 17 00:00:00 2001 From: nocode Date: Wed, 23 Sep 2026 21:35:34 +0200 Subject: [PATCH] style(web): adopt the official FWS mark and its palette MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The placeholder mark was an Arch-blue chevron. The site now carries the FWS logo — cyan ring on dark navy — and its accent colour follows, so the dashboard and the brand no longer disagree. Co-Authored-By: Claude Opus 5 (1M context) --- src/web/public/favicon.svg | 32 +++++++++++++++++++--- src/web/public/styles.css | 55 +++++++++++++++++++++++++++----------- 2 files changed, 68 insertions(+), 19 deletions(-) diff --git a/src/web/public/favicon.svg b/src/web/public/favicon.svg index 928aab8..972855a 100644 --- a/src/web/public/favicon.svg +++ b/src/web/public/favicon.svg @@ -1,5 +1,29 @@ - - - - + + FWS Linux + + + + + FWS + + + Linux + diff --git a/src/web/public/styles.css b/src/web/public/styles.css index 3fd602c..0b0dbdd 100644 --- a/src/web/public/styles.css +++ b/src/web/public/styles.css @@ -1,21 +1,22 @@ /* FWS-Bot dashboard — Arch blue on a calm dark surface (M16-T11). */ :root { - --blue: #1793d1; - --blue-soft: #8fd3ff; + /* Official FWS mark: cyan ring on dark navy. */ + --blue: #22d3ee; + --blue-soft: #7fe7f8; --green: #2ecc71; --amber: #f1c40f; --red: #e74c3c; --violet: #9b59b6; --gitea: #609926; - --bg: #0b1016; - --bg-elevated: #121a24; - --bg-sunken: #080d12; - --surface: #16202c; - --border: #23303f; - --text: #e6edf3; - --text-muted: #8da2b6; + --bg: #10141f; + --bg-elevated: #171c2b; + --bg-sunken: #0c1018; + --surface: #1b2130; + --border: #2a3145; + --text: #e6ebf3; + --text-muted: #8f98ad; --shadow: 0 10px 30px rgb(0 0 0 / 35%); --radius: 12px; @@ -392,7 +393,7 @@ pre code { .btn-primary { background: var(--blue); border-color: var(--blue); - color: #04121c; + color: #0c1018; } .btn-primary:hover:not(:disabled) { filter: brightness(1.1); @@ -496,7 +497,7 @@ pre code { } .toggle input:checked + .toggle-track::after { transform: translateX(16px); - background: #04121c; + background: #0c1018; } .toggle input:focus-visible + .toggle-track { outline: 2px solid var(--blue-soft); @@ -690,6 +691,15 @@ pre code { padding-left: 1.2rem; } +.wiki-preview { + border: 1px solid var(--border); + border-radius: var(--radius-sm); + padding: 0.9rem; + background: var(--bg-sunken); + max-height: 20rem; + overflow-y: auto; +} + .build { font-size: 0.7rem; padding: 0 0.2rem; @@ -777,7 +787,7 @@ body[data-mode='simple'] .advanced-only { } .mode-switch button.active { background: var(--blue); - color: #04121c; + color: #0c1018; } /* --- Login and setup ------------------------------------------------------ */ @@ -854,7 +864,7 @@ body[data-mode='simple'] .advanced-only { .wizard-step.done .dot { background: var(--green); border-color: var(--green); - color: #04121c; + color: #0c1018; } .wizard-step.invalid .dot { background: var(--red); @@ -944,9 +954,24 @@ body[data-mode='simple'] .advanced-only { display: flex; flex-direction: column; gap: 0.45rem; + color: inherit; + text-decoration: none; + cursor: pointer; + transition: + border-color 0.12s ease, + transform 0.12s ease; } -.repo-card h3 a { - color: var(--text); +.repo-card:hover { + border-color: var(--blue); + text-decoration: none; + transform: translateY(-1px); +} +.repo-card:focus-visible { + outline: 2px solid var(--blue); + outline-offset: 2px; +} +.repo-card h3 { + color: var(--blue-soft); } .repo-meta { display: flex;