feat(redesign): design-system tokens, 23 Vue components, game-aware shell + Fleet/Solo dashboard
All checks were successful
Test Asgard Runner / test (push) Successful in 4s

Tokens ported 1:1 from the Claude Design bundle (colors/game-themes/type/spacing/elevation/motion/fonts) with the data-theme/data-game theming contract via useThemeGame (+ cc-skin-swap repaint guard). 23 design-system components reimplemented as Vue SFCs (core/forms/data/navigation/feedback/brand). DashboardLayout rebuilt as the game-aware shell (GameSwitcher, grouped nav with permission gating preserved, agent-health footer, topbar). DashboardView: Fleet + Solo with per-game GAME_FIELDS rows and the themed ECharts PlayersChart; Solo wired to the real server store, Fleet on representative data pending the multi-instance backend. All four game skins (Rust/Dune/Conan/Soulmask). vue-tsc + vite build green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Vantz Stockwell
2026-06-11 02:12:35 -04:00
parent ef128b47d2
commit f91ef84832
42 changed files with 3577 additions and 299 deletions

View File

@@ -1,6 +1,10 @@
@import "tailwindcss";
@import "./styles/corrosion.css";
/* Corrosion Brand — Oxide Orange #F26622 */
/* Tailwind utility colors — Oxide ramp (existing views use bg-oxide-*).
The full design-token system (neutral ramp, surfaces, per-game accents,
typography, spacing, elevation, motion) lives in ./styles/ and is the
source of truth for the redesign. */
@theme {
--color-oxide-50: #FEF3EB;
--color-oxide-100: #FDE3D0;
@@ -15,7 +19,8 @@
--color-oxide-950: #3D1506;
}
/* Dark mode is default — Rust servers run at night */
/* Legacy brand vars — retained during the redesign port so any view still
referencing them keeps working; superseded by the ./styles tokens. */
:root {
--corrosion-accent: #F26622;
--corrosion-dark: #000000;
@@ -24,12 +29,8 @@
--corrosion-border: #2a2a2a;
}
body {
@apply bg-neutral-950 text-neutral-100 antialiased;
margin: 0;
min-height: 100vh;
}
/* Body background / text / font now come from the design system
(./styles/tokens/base.css → var(--surface-canvas), var(--text-primary)). */
#app {
min-height: 100vh;
}