feat: Vite+React+MUI+R3F app shell in app/ (framework-agnostic game core, zustand bridge)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
tfrere
2026-08-21 16:59:30 +02:00
parent 3ff9fc18a7
commit 3570fe8425
39 changed files with 8435 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
// MUI theme carrying the sim's DA: ink background, bright robot orange,
// system sans for copy, tight monospace for the OSD layers. Components keep
// most of their look in sx/styled - the theme only centralizes the tokens.
import { createTheme } from "@mui/material/styles";
export const INK = "#08080c";
export const ORANGE = "#ff7a2f";
export const MONO = 'ui-monospace, SFMono-Regular, Menlo, Consolas, monospace';
export const theme = createTheme({
palette: {
mode: "dark",
primary: { main: ORANGE, contrastText: INK },
background: { default: INK, paper: INK },
text: {
primary: "rgba(255, 255, 255, 0.85)",
secondary: "rgba(255, 255, 255, 0.45)",
},
},
typography: {
fontFamily:
'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',
},
shape: { borderRadius: 8 },
});