fa7f98ac52
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 commits0d477acthrough9891ae4(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>
258 lines
12 KiB
HTML
258 lines
12 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html class="dark" lang="en"><head>
|
|
<meta charset="utf-8"/>
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
|
<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&family=Inter:wght@400;500;700&display=swap" rel="stylesheet"/>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"on-secondary": "#293500",
|
|
"surface-container": "#1c2023",
|
|
"on-primary-fixed": "#001e2c",
|
|
"surface-tint": "#7ed0fe",
|
|
"suit-black": "#d0d0d0",
|
|
"on-background": "#e0e3e6",
|
|
"tertiary-fixed": "#fbd7ff",
|
|
"on-tertiary": "#4c195b",
|
|
"on-error": "#690005",
|
|
"secondary-fixed-dim": "#bad073",
|
|
"tertiary-fixed-dim": "#f0b0fc",
|
|
"suit-red-cb": "#6fc2ef",
|
|
"on-primary-container": "#004f6c",
|
|
"on-error-container": "#ffdad6",
|
|
"surface-container-lowest": "#0b0f11",
|
|
"on-surface": "#e0e3e6",
|
|
"secondary-container": "#435401",
|
|
"inverse-on-surface": "#2d3134",
|
|
"suit-red": "#fb9fb1",
|
|
"tertiary": "#f7c3ff",
|
|
"surface-dim": "#101417",
|
|
"background": "#101417",
|
|
"error": "#fb9fb1",
|
|
"on-secondary-container": "#b2c86d",
|
|
"on-primary": "#003549",
|
|
"on-tertiary-container": "#683476",
|
|
"surface-container-low": "#181c1f",
|
|
"warning": "#ddb26f",
|
|
"surface-variant": "#313538",
|
|
"primary-fixed": "#c4e7ff",
|
|
"primary": "#a1dcff",
|
|
"on-secondary-fixed-variant": "#3c4d00",
|
|
"surface": "#151515",
|
|
"secondary": "#bad073",
|
|
"outline-variant": "#3f484e",
|
|
"on-tertiary-fixed-variant": "#653173",
|
|
"highlight-valid": "#acc267",
|
|
"primary-fixed-dim": "#7ed0fe",
|
|
"surface-bright": "#363a3d",
|
|
"secondary-fixed": "#d5ec8c",
|
|
"primary-container": "#6fc2ef",
|
|
"surface-container-highest": "#313538",
|
|
"on-secondary-fixed": "#161e00",
|
|
"surface-container-high": "#272a2d",
|
|
"inverse-primary": "#00668a",
|
|
"on-tertiary-fixed": "#340043",
|
|
"tertiary-container": "#e1a3ee",
|
|
"on-surface-variant": "#bfc8cf",
|
|
"highlight-celebration": "#e1a3ee",
|
|
"inverse-surface": "#e0e3e6",
|
|
"outline": "#505050",
|
|
"info": "#12cfc0",
|
|
"on-primary-fixed-variant": "#004c69",
|
|
"error-container": "#93000a"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.125rem",
|
|
"lg": "0.25rem",
|
|
"xl": "0.5rem",
|
|
"full": "0.75rem"
|
|
},
|
|
"spacing": {
|
|
"gutter-card": "0.375rem",
|
|
"stack-overlap": "2rem",
|
|
"margin-edge": "1rem",
|
|
"touch-target-min": "48dp",
|
|
"action-bar-height": "64px",
|
|
"top-action-bar-height": "32px",
|
|
"bottom-action-bar-height": "24px"
|
|
},
|
|
"fontFamily": {
|
|
"body-md": ["Inter"],
|
|
"label-caps": ["JetBrains Mono"],
|
|
"card-rank": ["JetBrains Mono"],
|
|
"hud-timer": ["JetBrains Mono"],
|
|
"hud-score": ["JetBrains Mono"],
|
|
"headline": ["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"}],
|
|
"hud-score": ["24px", {"lineHeight": "32px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"headline": ["28px", {"lineHeight": "32px", "letterSpacing": "-0.01em", "fontWeight": "700"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
display: inline-block;
|
|
line-height: 1;
|
|
text-transform: none;
|
|
letter-spacing: normal;
|
|
word-wrap: normal;
|
|
white-space: nowrap;
|
|
direction: ltr;
|
|
}
|
|
.card-back-pattern {
|
|
background: repeating-linear-gradient(
|
|
0deg,
|
|
#151515,
|
|
#151515 2px,
|
|
#1a1a1a 2px,
|
|
#1a1a1a 4px
|
|
);
|
|
}
|
|
</style>
|
|
<style>
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-background text-on-background font-body-md selection:bg-primary selection:text-on-primary-container overflow-hidden flex flex-col h-[844px] w-[390px] mx-auto border-x border-outline-variant">
|
|
<!-- Status Bar / TopAppBar Logic -->
|
|
<header class="bg-[#202020] h-8 flex items-center justify-between px-4 w-full z-50">
|
|
<div class="flex items-center gap-1">
|
|
<span class="text-primary font-headline text-[12px]">▌</span>
|
|
<span class="text-on-surface font-label-caps text-[12px]">settings.toml</span>
|
|
</div>
|
|
<div class="text-outline font-label-caps text-[12px]">v0.20.0</div>
|
|
</header>
|
|
<!-- NavigationDrawer (Tab Strip Mapping) -->
|
|
<nav class="bg-[#1a1a1a] h-10 border-b border-[#353535] flex items-center w-full">
|
|
<!-- COSMETIC Tab (Active) -->
|
|
<div class="h-full flex-1 flex flex-col items-center justify-center relative">
|
|
<span class="text-primary font-label-caps text-[12px] px-2">[ COSMETIC ]</span>
|
|
<div class="absolute bottom-0 left-0 right-0 h-[2px] bg-primary"></div>
|
|
</div>
|
|
<!-- GAMEPLAY Tab -->
|
|
<div class="h-full flex-1 flex items-center justify-center">
|
|
<span class="text-[#a0a0a0] font-label-caps text-[12px]">GAMEPLAY</span>
|
|
</div>
|
|
<!-- SYNC Tab -->
|
|
<div class="h-full flex-1 flex items-center justify-center">
|
|
<span class="text-[#a0a0a0] font-label-caps text-[12px]">SYNC</span>
|
|
</div>
|
|
<!-- AUDIO Tab -->
|
|
<div class="h-full flex-1 flex items-center justify-center">
|
|
<span class="text-[#a0a0a0] font-label-caps text-[12px]">AUDIO</span>
|
|
</div>
|
|
</nav>
|
|
<!-- Content Area (Canvas) -->
|
|
<main class="flex-1 bg-[#151515] p-margin-edge overflow-y-auto space-y-2">
|
|
<!-- row: card_theme -->
|
|
<div class="bg-[#202020] h-14 rounded-[4px] px-3 flex items-center justify-between">
|
|
<div class="flex flex-col">
|
|
<span class="text-[#a0a0a0] font-label-caps text-[11px]">card_theme</span>
|
|
<span class="text-suit-black font-label-caps text-[14px]">Terminal</span>
|
|
</div>
|
|
<span class="text-primary material-symbols-outlined" data-icon="arrow_forward">arrow_forward</span>
|
|
</div>
|
|
<!-- row: background -->
|
|
<div class="bg-[#202020] h-14 rounded-[4px] px-3 flex items-center justify-between">
|
|
<div class="flex flex-col">
|
|
<span class="text-[#a0a0a0] font-label-caps text-[11px]">background</span>
|
|
<span class="text-suit-black font-label-caps text-[14px]">Solid #151515</span>
|
|
</div>
|
|
<span class="text-primary material-symbols-outlined" data-icon="arrow_forward">arrow_forward</span>
|
|
</div>
|
|
<!-- row: card_back -->
|
|
<div class="bg-[#202020] h-14 rounded-[4px] px-3 flex items-center justify-between">
|
|
<div class="flex flex-col">
|
|
<span class="text-[#a0a0a0] font-label-caps text-[11px]">card_back</span>
|
|
<span class="text-suit-black font-label-caps text-[14px]">Terminal</span>
|
|
</div>
|
|
<div class="flex items-center gap-3">
|
|
<div class="w-4 h-6 border border-outline card-back-pattern relative overflow-hidden">
|
|
<div class="absolute top-0.5 left-0.5 w-1.5 h-2 bg-primary"></div>
|
|
</div>
|
|
<span class="text-primary material-symbols-outlined" data-icon="arrow_forward">arrow_forward</span>
|
|
</div>
|
|
</div>
|
|
<!-- row: color_blind_mode -->
|
|
<div class="bg-[#202020] h-14 rounded-[4px] px-3 flex items-center justify-between">
|
|
<div class="flex flex-col">
|
|
<span class="text-[#a0a0a0] font-label-caps text-[11px]">color_blind_mode</span>
|
|
<span class="text-suit-black font-label-caps text-[14px]">false</span>
|
|
</div>
|
|
<!-- Toggle OFF -->
|
|
<div class="w-10 h-5 bg-[#202020] border border-outline rounded-full relative">
|
|
<div class="absolute left-0.5 top-0.5 w-3.5 h-3.5 bg-outline rounded-full"></div>
|
|
</div>
|
|
</div>
|
|
<!-- row: high_contrast -->
|
|
<div class="bg-[#202020] h-14 rounded-[4px] px-3 flex items-center justify-between">
|
|
<div class="flex flex-col">
|
|
<span class="text-[#a0a0a0] font-label-caps text-[11px]">high_contrast</span>
|
|
<span class="text-suit-black font-label-caps text-[14px]">false</span>
|
|
</div>
|
|
<!-- Toggle OFF -->
|
|
<div class="w-10 h-5 bg-[#202020] border border-outline rounded-full relative">
|
|
<div class="absolute left-0.5 top-0.5 w-3.5 h-3.5 bg-outline rounded-full"></div>
|
|
</div>
|
|
</div>
|
|
<!-- row: reduce_motion -->
|
|
<div class="bg-[#202020] h-14 rounded-[4px] px-3 flex items-center justify-between">
|
|
<div class="flex flex-col">
|
|
<span class="text-[#a0a0a0] font-label-caps text-[11px]">reduce_motion</span>
|
|
<span class="text-suit-black font-label-caps text-[14px]">true</span>
|
|
</div>
|
|
<!-- Toggle ON -->
|
|
<div class="w-10 h-5 bg-[#1f3a4a] border border-primary/50 rounded-full relative">
|
|
<div class="absolute right-0.5 top-0.5 w-3.5 h-3.5 bg-primary-container rounded-full"></div>
|
|
</div>
|
|
</div>
|
|
<!-- row: crt_scanline_effect -->
|
|
<div class="bg-[#202020] h-14 rounded-[4px] px-3 flex items-center justify-between">
|
|
<div class="flex flex-col">
|
|
<span class="text-[#a0a0a0] font-label-caps text-[11px]">crt_scanline_effect</span>
|
|
<span class="text-suit-black font-label-caps text-[14px]">false</span>
|
|
</div>
|
|
<!-- Toggle OFF -->
|
|
<div class="w-10 h-5 bg-[#202020] border border-outline rounded-full relative">
|
|
<div class="absolute left-0.5 top-0.5 w-3.5 h-3.5 bg-outline rounded-full"></div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- BottomNavBar (Footer Logic) -->
|
|
<footer class="h-6 bg-[#202020] border-t border-[#353535] flex items-center justify-between px-4 w-full z-50">
|
|
<div class="flex items-center gap-1 font-label-caps text-[11px]">
|
|
<span class="text-primary">▌</span>
|
|
<span class="text-suit-black">NORMAL</span>
|
|
<span class="text-outline">│</span>
|
|
<span class="text-on-surface">settings</span>
|
|
</div>
|
|
<div class="flex items-center gap-2 font-label-caps text-[11px]">
|
|
<div class="flex items-center">
|
|
<span class="text-[#a0a0a0]">[1-4]</span>
|
|
<span class="text-outline ml-1">tab</span>
|
|
</div>
|
|
<span class="text-outline">·</span>
|
|
<div class="flex items-center">
|
|
<span class="text-[#a0a0a0]">[ESC]</span>
|
|
<span class="text-outline ml-1">back</span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body></html> |