Files
vpinball/app/globals.css
T
valknarandClaude Sonnet 5 35fb68c916 Add ROM upload, local table library, engine bump, and UX/responsiveness fixes
- Bump @valknar/vpinball-wasm to 0.3.2 (PinMAME ROM support, MsgBox fix)
- Add optional PinMAME ROM .zip upload alongside .vpx tables
- Persist uploaded tables/ROMs in IndexedDB so users don't have to
  re-upload on later visits, with a library list on the landing page
- Fix Insert Coin key mismatch with the engine's real coin-door gating
  (now bound to 4, matching the shared table scripts) and surface it
  in the controls legend and "Tap to Start" hint
- Make the landing page, staging panel, and in-game HUD responsive for
  portrait phone widths; drop the landscape hint since portrait plays fine
- Replace the separate STATS HUD toggle with an FPS row in the info panel

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N9JmzRBZenapVkFWjw9jmG
2026-08-23 20:15:41 +02:00

43 lines
1.2 KiB
CSS

@import "tailwindcss";
@theme {
/* Cabinet palette — grounded in real pinball-machine parts, not a generic dark theme. */
--color-ink: #0b0b0f; /* cabinet body / page background */
--color-ash: #1b1c22; /* panel surface */
--color-chrome: #a9aebb; /* metal bezel, borders, muted text */
--color-marquee: #ff7a29; /* GI lamp amber — primary accent, CTAs */
--color-arc: #4ce0d2; /* fluorescent-tube cyan — focus rings, secondary */
--color-paper: #f3efe6; /* aged-backglass cream — high-contrast body text */
--font-display: var(--font-display-face), "Arial Narrow", sans-serif;
--font-body: var(--font-space-grotesk), system-ui, sans-serif;
--font-mono: var(--font-plex-mono), "IBM Plex Mono", ui-monospace, monospace;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
body {
background: var(--color-ink);
color: var(--color-paper);
font-family: var(--font-body);
}
::selection {
background: var(--color-marquee);
color: var(--color-ink);
}
:focus-visible {
outline: 2px solid var(--color-arc);
outline-offset: 2px;
}