From 5d79911c12bbd653e809cc3783d3686f1bd041e5 Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Fri, 29 May 2026 14:47:42 +0300 Subject: [PATCH] =?UTF-8?q?feat(ui):=20Velocity=20redesign=20=E2=80=94=20f?= =?UTF-8?q?oundations=20(tokens,=20theme,=20chrome)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Re-skin the app into the "Velocity" neo-brutalist direction: acid-lime accent, hard offset shadows, slammed uppercase headlines, rounded brutalist blocks. Light "paper" chassis + a warm-charcoal dark mode, both keeping the lime accent and a constant black appbar; the light/dark toggle is preserved. - Type is Cyrillic-complete (the mockup's Anton/DM Sans/Space Mono are not, and this product is Russian-first): Oswald (display) + Manrope (body) + JetBrains Mono (numerals), loaded via the existing Google Fonts CDN. - app.css: Velocity token palette (light+dark) + brutalist shared components (cards, kicker chips, stat blocks, nav, segmented, sections, anomaly badge); diagonal-hatch texture; electric-blue focus rings. - MarathonTheme + Tokens.cs: Mud palette / typography / radius retargeted so every Mud component follows; appbar black, drawer flipped to paper. - MainLayout + NavBody chrome: black appbar, lime capture chip, paper drawer with brutalist nav blocks (fixes the old white-on-paper brand). - OddsTimeline + SportIcon recoloured to the Velocity palette (chart lines now read on both themes; dropped the off-brand purple sport hue). Foundations only — build clean, all 568 tests green. Page-level polish (Results winner colours, bespoke page styles) rolls out next. --- .../wwwroot/index.html | 16 +- src/Marathon.UI/Components/NavBody.razor | 20 +- src/Marathon.UI/Components/OddsTimeline.razor | 26 +- src/Marathon.UI/Components/SportIcon.razor | 8 +- src/Marathon.UI/MainLayout.razor | 22 +- src/Marathon.UI/Theme/MarathonTheme.cs | 200 +++++++------ src/Marathon.UI/Theme/Tokens.cs | 20 +- src/Marathon.UI/wwwroot/app.css | 275 ++++++++++-------- src/Marathon.UI/wwwroot/index.html | 16 +- 9 files changed, 325 insertions(+), 278 deletions(-) diff --git a/src/Marathon.Hosts.WpfBlazor/wwwroot/index.html b/src/Marathon.Hosts.WpfBlazor/wwwroot/index.html index 162d2ce..6b02d9d 100644 --- a/src/Marathon.Hosts.WpfBlazor/wwwroot/index.html +++ b/src/Marathon.Hosts.WpfBlazor/wwwroot/index.html @@ -8,17 +8,17 @@ - + @@ -26,13 +26,13 @@
-
- Booting -
Marathon Odds Lab
+
+ Booting +
Marathon Odds Lab
-