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>
274 lines
12 KiB
HTML
274 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&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"/>
|
|
<style>
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
/* CRT Scanline Overlay Effect */
|
|
.crt-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
|
|
background-size: 100% 3px, 3px 100%;
|
|
pointer-events: none;
|
|
z-index: 100;
|
|
}
|
|
.custom-scrollbar::-webkit-scrollbar {
|
|
height: 4px;
|
|
}
|
|
.custom-scrollbar::-webkit-scrollbar-track {
|
|
background: #151515;
|
|
}
|
|
.custom-scrollbar::-webkit-scrollbar-thumb {
|
|
background: #505050;
|
|
}
|
|
</style>
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"surface-container-low": "#181c1f",
|
|
"on-primary-fixed": "#001e2c",
|
|
"on-error": "#690005",
|
|
"suit-black": "#d0d0d0",
|
|
"inverse-primary": "#00668a",
|
|
"on-primary-container": "#004f6c",
|
|
"suit-red-cb": "#6fc2ef",
|
|
"tertiary-container": "#e1a3ee",
|
|
"secondary-fixed": "#d5ec8c",
|
|
"highlight-valid": "#acc267",
|
|
"surface-container-highest": "#313538",
|
|
"secondary-fixed-dim": "#bad073",
|
|
"warning": "#ddb26f",
|
|
"on-secondary-fixed": "#161e00",
|
|
"primary-fixed-dim": "#7ed0fe",
|
|
"on-surface-variant": "#bfc8cf",
|
|
"on-primary": "#003549",
|
|
"tertiary-fixed": "#fbd7ff",
|
|
"primary-container": "#6fc2ef",
|
|
"on-background": "#e0e3e6",
|
|
"error-container": "#93000a",
|
|
"outline": "#505050",
|
|
"on-tertiary-fixed": "#340043",
|
|
"primary-fixed": "#c4e7ff",
|
|
"on-surface": "#e0e3e6",
|
|
"on-secondary": "#293500",
|
|
"surface-container-high": "#272a2d",
|
|
"on-tertiary": "#4c195b",
|
|
"secondary": "#bad073",
|
|
"on-tertiary-container": "#683476",
|
|
"inverse-on-surface": "#2d3134",
|
|
"surface-dim": "#101417",
|
|
"primary": "#a1dcff",
|
|
"on-tertiary-fixed-variant": "#653173",
|
|
"on-error-container": "#ffdad6",
|
|
"surface-variant": "#313538",
|
|
"surface-tint": "#7ed0fe",
|
|
"surface-container-lowest": "#0b0f11",
|
|
"surface": "#151515",
|
|
"tertiary": "#f7c3ff",
|
|
"on-secondary-fixed-variant": "#3c4d00",
|
|
"surface-bright": "#363a3d",
|
|
"tertiary-fixed-dim": "#f0b0fc",
|
|
"outline-variant": "#3f484e",
|
|
"info": "#12cfc0",
|
|
"secondary-container": "#435401",
|
|
"on-secondary-container": "#b2c86d",
|
|
"inverse-surface": "#e0e3e6",
|
|
"error": "#fb9fb1",
|
|
"suit-red": "#fb9fb1",
|
|
"background": "#101417",
|
|
"highlight-celebration": "#e1a3ee",
|
|
"on-primary-fixed-variant": "#004c69",
|
|
"surface-container": "#202020"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.125rem",
|
|
"lg": "0.25rem",
|
|
"xl": "0.5rem",
|
|
"full": "0.75rem"
|
|
},
|
|
"spacing": {
|
|
"stack-overlap": "2rem",
|
|
"action-bar-height": "64px",
|
|
"touch-target-min": "48dp",
|
|
"gutter-card": "0.375rem",
|
|
"margin-edge": "1rem"
|
|
},
|
|
"fontFamily": {
|
|
"headline": ["JetBrains Mono"],
|
|
"label-caps": ["JetBrains Mono"],
|
|
"hud-score": ["JetBrains Mono"],
|
|
"hud-timer": ["JetBrains Mono"],
|
|
"body-md": ["Inter"],
|
|
"card-rank": ["JetBrains Mono"]
|
|
},
|
|
"fontSize": {
|
|
"headline": ["28px", {"lineHeight": "32px", "letterSpacing": "-0.01em", "fontWeight": "700"}],
|
|
"label-caps": ["12px", {"lineHeight": "16px", "letterSpacing": "0.08em", "fontWeight": "500"}],
|
|
"hud-score": ["24px", {"lineHeight": "32px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"hud-timer": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
|
"body-md": ["16px", {"lineHeight": "24px", "fontWeight": "400"}],
|
|
"card-rank": ["18px", {"lineHeight": "18px", "fontWeight": "700"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-background text-on-background font-body-md selection:bg-primary selection:text-background overflow-x-hidden">
|
|
<div class="crt-overlay"></div>
|
|
<!-- Status Bar -->
|
|
<header class="bg-surface-container h-[32px] w-full flex items-center justify-between px-margin-edge z-50">
|
|
<div class="font-headline text-[12px] text-on-surface-variant tracking-wider">
|
|
▌profile.tsx
|
|
</div>
|
|
<div class="flex items-center gap-2">
|
|
<span class="w-2 h-2 rounded-full bg-info"></span>
|
|
<span class="font-label-caps text-[10px] text-on-surface">● SYNCED</span>
|
|
</div>
|
|
</header>
|
|
<!-- Main Canvas -->
|
|
<main class="flex-1 overflow-y-auto pb-24">
|
|
<!-- Profile Header -->
|
|
<section class="h-[120px] bg-surface-container border-b border-outline-variant flex items-center px-margin-edge gap-4">
|
|
<div class="w-[64px] h-[64px] bg-[#1a1a1a] border border-outline flex items-center justify-center shrink-0">
|
|
<span class="font-headline text-[28px] text-primary-container">RS</span>
|
|
</div>
|
|
<div class="flex flex-col gap-1 overflow-hidden">
|
|
<h1 class="font-headline text-[18px] text-on-surface truncate">anonymous@local</h1>
|
|
<p class="font-label-caps text-on-surface-variant text-[10px]">MEMBER SINCE 2026-04-22</p>
|
|
<div class="flex gap-2 mt-1">
|
|
<span class="px-2 py-0.5 bg-[#1a1a1a] font-label-caps text-[10px] text-suit-black">247 GAMES</span>
|
|
<span class="px-2 py-0.5 bg-[#1a1a1a] font-label-caps text-[10px] text-suit-black">61% WR</span>
|
|
<span class="px-2 py-0.5 bg-[#1a1a1a] font-label-caps text-[10px] text-suit-black">12 STREAK</span>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Level/XP Section -->
|
|
<section class="p-margin-edge bg-surface-container border-b border-outline-variant">
|
|
<div class="flex justify-between items-baseline mb-2">
|
|
<span class="font-headline text-[24px] text-on-surface">LEVEL 12</span>
|
|
<span class="font-hud-timer text-on-surface-variant">320/500 XP</span>
|
|
</div>
|
|
<div class="h-3 w-full bg-[#353535] relative overflow-hidden">
|
|
<div class="h-full bg-primary-container" style="width: 64%;"></div>
|
|
</div>
|
|
<div class="flex items-center gap-2 mt-3">
|
|
<span class="w-1.5 h-1.5 rounded-full bg-highlight-celebration"></span>
|
|
<span class="font-label-caps text-[10px] text-on-surface-variant">180 XP TO LEVEL 13</span>
|
|
</div>
|
|
</section>
|
|
<!-- Unlocked Cards -->
|
|
<section class="mt-6">
|
|
<h2 class="px-margin-edge font-headline text-[14px] text-on-surface mb-4">▌ unlocked.cards</h2>
|
|
<div class="flex overflow-x-auto gap-4 px-margin-edge pb-4 custom-scrollbar">
|
|
<!-- Terminal (Active) -->
|
|
<div class="shrink-0 flex flex-col gap-2">
|
|
<div class="w-[60px] h-[84px] bg-surface-container-low border-2 border-primary-container relative flex items-center justify-center p-1">
|
|
<div class="w-full h-full bg-[#151515] overflow-hidden flex flex-col p-1">
|
|
<div class="w-2 h-2.5 bg-primary-container mb-auto"></div>
|
|
<div class="self-end text-[8px] font-headline text-on-surface-variant opacity-50">▌RS</div>
|
|
</div>
|
|
</div>
|
|
<span class="font-label-caps text-[9px] text-primary-container text-center">ACTIVE</span>
|
|
</div>
|
|
<!-- Classic -->
|
|
<div class="shrink-0 flex flex-col gap-2">
|
|
<div class="w-[60px] h-[84px] bg-white border border-outline relative p-1">
|
|
<div class="w-full h-full border border-red-200 bg-red-50 opacity-20"></div>
|
|
</div>
|
|
<span class="font-label-caps text-[9px] text-on-surface-variant text-center opacity-50">TAP TO USE</span>
|
|
</div>
|
|
<!-- Stripes -->
|
|
<div class="shrink-0 flex flex-col gap-2">
|
|
<div class="w-[60px] h-[84px] bg-surface-container border border-outline p-1">
|
|
<div class="w-full h-full bg-gradient-to-br from-secondary-container via-surface to-secondary-container opacity-40"></div>
|
|
</div>
|
|
<span class="font-label-caps text-[9px] text-on-surface-variant text-center opacity-50">TAP TO USE</span>
|
|
</div>
|
|
<!-- Polka -->
|
|
<div class="shrink-0 flex flex-col gap-2">
|
|
<div class="w-[60px] h-[84px] bg-surface-container border border-outline p-1 overflow-hidden relative">
|
|
<div class="w-full h-full opacity-30" style="background-image: radial-gradient(#505050 1px, transparent 0); background-size: 6px 6px;"></div>
|
|
</div>
|
|
<span class="font-label-caps text-[9px] text-on-surface-variant text-center opacity-50">TAP TO USE</span>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Unlocked Backgrounds -->
|
|
<section class="mt-6">
|
|
<h2 class="px-margin-edge font-headline text-[14px] text-on-surface mb-4">▌ unlocked.backgrounds</h2>
|
|
<div class="flex overflow-x-auto gap-4 px-margin-edge pb-4 custom-scrollbar">
|
|
<!-- Default (Active) -->
|
|
<div class="shrink-0 flex flex-col gap-2">
|
|
<div class="w-[80px] h-[56px] bg-[#151515] border-2 border-primary-container"></div>
|
|
<span class="font-label-caps text-[9px] text-primary-container text-center">ACTIVE</span>
|
|
</div>
|
|
<!-- Forest -->
|
|
<div class="shrink-0 flex flex-col gap-2">
|
|
<div class="w-[80px] h-[56px] bg-[#0d160d] border border-outline"></div>
|
|
<span class="font-label-caps text-[9px] text-on-surface-variant text-center opacity-50">FOREST</span>
|
|
</div>
|
|
<!-- Slate -->
|
|
<div class="shrink-0 flex flex-col gap-2">
|
|
<div class="w-[80px] h-[56px] bg-[#1c2128] border border-outline"></div>
|
|
<span class="font-label-caps text-[9px] text-on-surface-variant text-center opacity-50">SLATE</span>
|
|
</div>
|
|
<!-- Midnight -->
|
|
<div class="shrink-0 flex flex-col gap-2">
|
|
<div class="w-[80px] h-[56px] bg-[#09090b] border border-outline"></div>
|
|
<span class="font-label-caps text-[9px] text-on-surface-variant text-center opacity-50">MIDNIGHT</span>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Sign-in Card -->
|
|
<section class="mt-8 px-margin-edge">
|
|
<button class="w-full h-[64px] bg-surface-container border border-dashed border-outline flex items-center justify-between px-6 hover:bg-surface-variant transition-colors group">
|
|
<span class="font-label-caps text-on-surface-variant tracking-widest">+ SIGN IN TO SYNC PROGRESS</span>
|
|
<span class="material-symbols-outlined text-primary-container group-hover:translate-x-1 transition-transform">arrow_forward</span>
|
|
</button>
|
|
</section>
|
|
</main>
|
|
<!-- TopAppBar (from Shared Components - as Terminal Header) -->
|
|
<div class="fixed top-[32px] left-0 w-full z-40 bg-background border-b border-outline-variant flex items-center justify-between px-margin-edge h-action-bar-height">
|
|
<div class="flex items-center gap-3">
|
|
<span class="material-symbols-outlined text-primary">terminal</span>
|
|
<span class="font-headline text-headline text-primary tracking-tighter">~/root/usr/settings</span>
|
|
</div>
|
|
<div class="flex items-center">
|
|
<button class="p-2 hover:bg-surface-variant text-primary transition-colors">
|
|
<span class="material-symbols-outlined">close</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<!-- BottomNavBar (from Shared Components - as Terminal Footer) -->
|
|
<nav class="fixed bottom-0 left-0 w-full z-50 h-[24px] bg-surface-container-lowest border-t border-outline-variant flex justify-between items-center px-4">
|
|
<div class="flex items-center gap-4">
|
|
<span class="font-label-caps text-[10px] text-on-surface-variant">▌ NORMAL │ profile</span>
|
|
</div>
|
|
<div class="flex items-center gap-4">
|
|
<button class="flex items-center gap-1 group">
|
|
<span class="font-label-caps text-[10px] text-on-surface-variant group-hover:text-primary">[ESC] back</span>
|
|
</button>
|
|
</div>
|
|
</nav>
|
|
<!-- Decorative CRT Scanline overlay line -->
|
|
<div class="fixed top-0 left-0 w-full h-[1px] bg-primary opacity-20 pointer-events-none animate-pulse"></div>
|
|
</body></html> |