Files
Ferrous-Solitaire/docs/ui-mockups/win-summary-mobile.html
T
funman300 fa7f98ac52 docs(ui): land the Terminal design system + 24-mockup library
Adds the spec the recent visual-identity port pass referenced:

- design-system.md — base16-eighties palette, type scale, spacing
  scale, motion budget, component library, accessibility notes
  (color-blind toggle, high-contrast mode, glyph differentiation),
  and the canonical "Terminal" card-back theme.
- 24 Stitch-rendered mockups (HTML + PNG): 12 redesigned existing
  screens, 1 desktop home variant, 2 onboarding steps, and 9
  missing-plugin screens (splash, challenge, time-attack,
  weekly-goals, leaderboard, sync, level-up, replay, radial-menu).

These mockups are the source the engine plugins were ported
against in commits 0d477ac through 9891ae4 (token system,
modal scaffold, gameplay-feedback layer, toasts, table chrome,
card chrome, splash cursor, hint highlight). Future plugin work
should diff against the matching mockup before touching pixels.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-07 18:47:57 -07:00

200 lines
10 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html class="dark" lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>ROOT@SOLITAIRE:~ | Win Summary</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&amp;family=Inter:wght@400;500;700&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet"/>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"primary-fixed": "#c4e7ff",
"inverse-surface": "#e0e3e6",
"on-tertiary": "#4c195b",
"suit-red-cb": "#6fc2ef",
"secondary-fixed-dim": "#bad073",
"on-secondary-fixed-variant": "#3c4d00",
"on-secondary-fixed": "#161e00",
"surface-container-highest": "#313538",
"primary-fixed-dim": "#7ed0fe",
"on-secondary": "#293500",
"on-background": "#e0e3e6",
"highlight-celebration": "#e1a3ee",
"warning": "#ddb26f",
"on-tertiary-fixed-variant": "#653173",
"background": "#101417",
"surface-container-lowest": "#0b0f11",
"info": "#12cfc0",
"tertiary-container": "#e1a3ee",
"surface-container": "#202020",
"secondary": "#bad073",
"outline": "#505050",
"tertiary-fixed-dim": "#f0b0fc",
"secondary-container": "#435401",
"inverse-primary": "#00668a",
"surface": "#151515",
"on-error-container": "#ffdad6",
"error-container": "#93000a",
"surface-bright": "#363a3d",
"surface-dim": "#101417",
"on-primary-fixed-variant": "#004c69",
"on-tertiary-fixed": "#340043",
"inverse-on-surface": "#2d3134",
"surface-container-high": "#272a2d",
"secondary-fixed": "#d5ec8c",
"on-tertiary-container": "#683476",
"on-secondary-container": "#b2c86d",
"surface-tint": "#7ed0fe",
"on-primary-container": "#004f6c",
"on-error": "#690005",
"on-surface": "#e0e3e6",
"surface-variant": "#313538",
"highlight-valid": "#acc267",
"primary": "#a1dcff"
},
"borderRadius": {
"DEFAULT": "0.125rem",
"lg": "0.25rem",
"xl": "0.5rem",
"full": "0.75rem"
},
"spacing": {
"margin-edge": "1rem",
"action-bar-height": "64px",
"gutter-card": "0.375rem",
"touch-target-min": "48dp",
"stack-overlap": "2rem"
},
"fontFamily": {
"body-md": ["Inter"],
"label-caps": ["JetBrains Mono"],
"card-rank": ["JetBrains Mono"],
"hud-timer": ["JetBrains Mono"],
"headline": ["JetBrains Mono"],
"hud-score": ["JetBrains Mono"]
},
"fontSize": {
"body-md": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
"label-caps": ["12px", {"lineHeight": "16px", "letterSpacing": "0.08em", "fontWeight": "500"}],
"card-rank": ["18px", {"lineHeight": "18px", "fontWeight": "700"}],
"hud-timer": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
"headline": ["28px", {"lineHeight": "32px", "letterSpacing": "-0.01em", "fontWeight": "700"}],
"hud-score": ["24px", {"lineHeight": "32px", "letterSpacing": "-0.02em", "fontWeight": "700"}]
}
},
},
}
</script>
<style>
.crt-scanlines {
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
background-size: 100% 2px, 3px 100%;
pointer-events: none;
}
.lavender-glow {
text-shadow: 0 0 16px rgba(225, 163, 238, 0.3);
}
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
</head>
<body class="bg-background text-on-background font-body-md selection:bg-primary-container selection:text-on-primary-container min-h-screen flex flex-col relative overflow-hidden">
<!-- CRT Overlay -->
<div class="fixed inset-0 crt-scanlines z-[100] opacity-30"></div>
<!-- Status Bar (Emulating TopAppBar context) -->
<header class="h-[32px] bg-surface-container flex items-center justify-between px-margin-edge z-50 border-b border-outline-variant">
<div class="flex items-center gap-2">
<span class="font-label-caps text-[11px] text-on-surface">▌win.tsx</span>
</div>
<div class="flex items-center gap-4">
<div class="flex items-center gap-1">
<span class="w-2 h-2 rounded-full bg-info"></span>
<span class="font-label-caps text-[11px] text-info uppercase">Synced</span>
</div>
<span class="font-label-caps text-[11px] text-outline uppercase tracking-tight">v0.20.0</span>
</div>
</header>
<!-- Content Canvas -->
<main class="flex-1 flex flex-col px-margin-edge pt-12 pb-8 gap-8 relative z-10">
<!-- Hero Band -->
<section class="flex flex-col items-center text-center space-y-2">
<h1 class="font-headline text-[48px] leading-tight text-highlight-celebration uppercase lavender-glow tracking-tighter">
█ COMPLETE
</h1>
<p class="font-label-caps text-[12px] text-outline-variant tracking-[0.2em]">
GAME #2024-127 · DRAW-3
</p>
</section>
<!-- Stats Card -->
<section class="bg-surface-container border border-outline-variant rounded-lg overflow-hidden p-6 grid grid-cols-2 gap-y-8 gap-x-4">
<div class="space-y-1">
<span class="block font-label-caps text-outline uppercase text-[10px]">Final Score</span>
<span class="block font-hud-score text-on-background">1,024</span>
</div>
<div class="space-y-1">
<span class="block font-label-caps text-outline uppercase text-[10px]">Time</span>
<span class="block font-hud-timer text-on-background">12:34</span>
</div>
<div class="space-y-1">
<span class="block font-label-caps text-outline uppercase text-[10px]">Moves</span>
<span class="block font-hud-timer text-on-background">87</span>
</div>
<div class="space-y-1">
<span class="block font-label-caps text-outline uppercase text-[10px]">Par Delta</span>
<span class="block font-hud-timer text-highlight-valid">13</span>
</div>
</section>
<!-- Achievement Card -->
<section class="bg-surface-container border-l-2 border-highlight-celebration rounded-r-lg p-4 flex items-center justify-between">
<div class="space-y-1">
<span class="font-label-caps text-highlight-celebration text-[10px] flex items-center gap-1">
<span class="text-[8px]"></span> ACHIEVEMENT UNLOCKED
</span>
<p class="font-label-caps text-suit-black uppercase tracking-wider text-[14px]">FIRST DAILY WIN</p>
</div>
<div class="w-12 h-12 rounded-full border border-outline-variant flex items-center justify-center bg-surface-container-low">
<span class="material-symbols-outlined text-highlight-celebration text-2xl" data-icon="military_tech">military_tech</span>
</div>
</section>
<!-- Action Buttons -->
<div class="mt-auto space-y-3">
<button class="w-full h-[56px] bg-info text-surface font-label-caps text-[14px] font-bold tracking-widest flex items-center justify-center gap-2 hover:opacity-90 active:opacity-80 transition-all uppercase">
<span class="text-lg"></span> New Game
</button>
<div class="grid grid-cols-2 gap-3">
<button class="h-[48px] border border-outline text-on-surface-variant font-label-caps text-[12px] flex items-center justify-center gap-2 hover:border-info hover:text-info transition-colors uppercase">
<span class="text-sm"></span> Replay Seed
</button>
<button class="h-[48px] border border-outline text-on-surface-variant font-label-caps text-[12px] flex items-center justify-center gap-2 hover:border-info hover:text-info transition-colors uppercase">
<span class="text-sm"></span> Home
</button>
</div>
</div>
</main>
<!-- Footer Keys -->
<footer class="h-action-bar-height flex flex-col items-center justify-center px-margin-edge border-t border-outline-variant bg-surface-container-low">
<div class="flex gap-4">
<div class="flex items-center gap-1.5">
<span class="font-label-caps text-outline-variant">[ S ]</span>
<span class="font-label-caps text-outline uppercase text-[10px]">share screenshot</span>
</div>
<div class="flex items-center gap-1.5">
<span class="font-label-caps text-outline-variant">[ X ]</span>
<span class="font-label-caps text-outline uppercase text-[10px]">copy seed</span>
</div>
</div>
</footer>
<!-- Bottom Nav Suppression Logic: This is a task-focused confirmation screen, so the global BottomNavBar from JSON is suppressed to focus on primary actions. -->
</body></html>