docs(fase-5): plan mobile UX rewrite ("Monolith Editorial")

- Add plan/fase-5-mobile-ux.md with 7-chunk breakdown:
    5.0 mobile tests (Playwright mobile-shell/masthead/swipe-delete + Vitest helpers)
    5.1 responsive shell (MobileTopBar + BottomTabBar + MobileDrawer)
    5.2 ScreenMasthead + px-4/md:px-6 pass
    5.3 /lists mobile cards
    5.4 /lists/[id] rows + red-zone swipe-delete
    5.5 undoQueue store + UndoToast
    5.6 scrollable frequency chips
    5.7 tasks/notes/search shell + masthead
    5.Z verify 211 + new M-series green
- Explicit gap analysis vs. current app + deliberate exclusions
    (no priority badges, no voice search, no fake meta like "Dairy · Weekly")
- Index design/ directory: Stitch mockups per screen (mobile + desktop variants),
  plus the "Monolith Editorial" DESIGN.md directing tonal shifts, masthead
  typography, glassmorphism, and the no-line rule
- Relocate DESIGN.md under design/slate_collective/DESIGN.md (old entry point) —
  the current design direction lives at design/DESIGN.md
- Reference design/ from CLAUDE.md + add Fase 5 to README phase index

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-13 13:36:52 +02:00
parent 2806e06db2
commit ee962991e1
42 changed files with 5018 additions and 29 deletions

View File

@@ -0,0 +1,254 @@
<!DOCTYPE html>
<html class="light" 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=Inter:wght@400;600;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": {
"surface-bright": "#f7f9fb",
"on-tertiary-container": "#ffffff",
"tertiary-fixed-dim": "#930013",
"tertiary-fixed": "#b91a24",
"surface-container": "#eceef0",
"on-tertiary-fixed": "#ffffff",
"inverse-primary": "#bec6e0",
"surface": "#f7f9fb",
"primary-container": "#333b50",
"surface-variant": "#e0e3e5",
"on-tertiary": "#ffdad7",
"surface-dim": "#d8dadc",
"on-secondary-container": "#0b1c30",
"inverse-surface": "#2d3133",
"secondary-fixed": "#b7c8e1",
"background": "#f7f9fb",
"on-primary-fixed": "#ffffff",
"outline-variant": "#c6c6c6",
"primary": "#000000",
"on-secondary-fixed-variant": "#2d3c51",
"on-error": "#ffffff",
"primary-fixed-dim": "#3f465c",
"on-primary-fixed-variant": "#dae2fd",
"surface-container-high": "#e6e8ea",
"secondary": "#505f76",
"on-surface": "#191c1e",
"secondary-container": "#c5d6f0",
"inverse-on-surface": "#eff1f3",
"error-container": "#ffdad6",
"on-secondary": "#ffffff",
"surface-tint": "#565e74",
"on-tertiary-fixed-variant": "#ffdad7",
"on-surface-variant": "#474747",
"on-secondary-fixed": "#0b1c30",
"on-primary": "#dae2fd",
"surface-container-low": "#f2f4f6",
"tertiary": "#7d000f",
"outline": "#777777",
"error": "#ba1a1a",
"on-background": "#191c1e",
"tertiary-container": "#da3437",
"on-primary-container": "#ffffff",
"on-error-container": "#410002",
"surface-container-lowest": "#ffffff",
"surface-container-highest": "#e0e3e5",
"primary-fixed": "#565e74",
"secondary-fixed-dim": "#9cacc5"
},
"borderRadius": {
"DEFAULT": "0.125rem",
"lg": "0.25rem",
"xl": "0.5rem",
"full": "0.75rem"
},
"fontFamily": {
"headline": ["Inter"],
"body": ["Inter"],
"label": ["Inter"]
}
},
},
}
</script>
<style>
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.ease-monolith { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
</head>
<body class="bg-surface font-body text-on-surface antialiased">
<!-- Top Navigation Anchor -->
<header class="w-full sticky top-0 bg-[#f7f9fb] dark:bg-[#020617] flex items-center justify-between px-6 py-4 z-50">
<div class="flex items-center gap-4">
<button class="material-symbols-outlined text-slate-900 dark:text-slate-50 hover:bg-slate-200/50 p-2 rounded-md transition-colors" data-icon="menu">menu</button>
<h1 class="text-xl font-bold tracking-tighter text-slate-900 dark:text-slate-50">MONOLITH</h1>
</div>
<div class="flex items-center">
<span class="font-['Inter'] font-semibold tracking-[-0.01em] uppercase text-[13px] text-slate-900 dark:text-slate-50">Lists</span>
</div>
</header>
<main class="max-w-2xl mx-auto px-6 pb-40">
<!-- Section Header -->
<div class="mt-8 mb-6">
<span class="font-['Inter'] font-semibold tracking-[0.05em] uppercase text-[13px] text-slate-500">Current Inventory</span>
<h2 class="text-[20px] font-semibold text-slate-900 mt-1">Grocery List</h2>
</div>
<!-- Unified List -->
<div class="space-y-3">
<!-- Item Row -->
<div class="flex items-center justify-between p-4 bg-surface-container-lowest rounded-md transition-transform duration-200 ease-in-out group">
<div class="flex items-center gap-4 flex-1">
<input class="w-5 h-5 rounded border-slate-300 text-slate-900 focus:ring-slate-900" type="checkbox"/>
<div class="flex flex-col">
<span class="text-[16px] font-normal text-slate-800">Whole milk 1L</span>
<span class="text-[13px] text-slate-500">Dairy • Weekly</span>
</div>
</div>
<div class="flex items-center gap-3 bg-surface-container-low p-1 rounded-md">
<button class="w-8 h-8 flex items-center justify-center hover:bg-slate-200 rounded transition-colors">
<span class="material-symbols-outlined text-[18px]" data-icon="remove">remove</span>
</button>
<span class="w-6 text-center font-semibold text-[14px]">2</span>
<button class="w-8 h-8 flex items-center justify-center hover:bg-slate-200 rounded transition-colors">
<span class="material-symbols-outlined text-[18px]" data-icon="add">add</span>
</button>
</div>
</div>
<!-- Item Row -->
<div class="flex items-center justify-between p-4 bg-surface-container-lowest rounded-md">
<div class="flex items-center gap-4 flex-1">
<input class="w-5 h-5 rounded border-slate-300 text-slate-900 focus:ring-slate-900" type="checkbox"/>
<div class="flex flex-col">
<span class="text-[16px] font-normal text-slate-800">Organic Sourdough</span>
<span class="text-[13px] text-slate-500">Bakery</span>
</div>
</div>
<div class="flex items-center gap-3 bg-surface-container-low p-1 rounded-md">
<button class="w-8 h-8 flex items-center justify-center hover:bg-slate-200 rounded transition-colors">
<span class="material-symbols-outlined text-[18px]" data-icon="remove">remove</span>
</button>
<span class="w-6 text-center font-semibold text-[14px]">1</span>
<button class="w-8 h-8 flex items-center justify-center hover:bg-slate-200 rounded transition-colors">
<span class="material-symbols-outlined text-[18px]" data-icon="add">add</span>
</button>
</div>
</div>
<!-- Item Row -->
<div class="flex items-center justify-between p-4 bg-surface-container-lowest rounded-md">
<div class="flex items-center gap-4 flex-1">
<input class="w-5 h-5 rounded border-slate-300 text-slate-900 focus:ring-slate-900" type="checkbox"/>
<div class="flex flex-col">
<span class="text-[16px] font-normal text-slate-800">Large Brown Eggs</span>
<span class="text-[13px] text-slate-500">Dairy • 12ct</span>
</div>
</div>
<div class="flex items-center gap-3 bg-surface-container-low p-1 rounded-md">
<button class="w-8 h-8 flex items-center justify-center hover:bg-slate-200 rounded transition-colors">
<span class="material-symbols-outlined text-[18px]" data-icon="remove">remove</span>
</button>
<span class="w-6 text-center font-semibold text-[14px]">1</span>
<button class="w-8 h-8 flex items-center justify-center hover:bg-slate-200 rounded transition-colors">
<span class="material-symbols-outlined text-[18px]" data-icon="add">add</span>
</button>
</div>
</div>
<!-- Item Row -->
<div class="flex items-center justify-between p-4 bg-surface-container-lowest rounded-md opacity-60">
<div class="flex items-center gap-4 flex-1">
<input checked="" class="w-5 h-5 rounded border-slate-300 text-slate-900 focus:ring-slate-900" type="checkbox"/>
<div class="flex flex-col">
<span class="text-[16px] font-normal text-slate-800 line-through">Avocado (Ripe)</span>
<span class="text-[13px] text-slate-500">Produce</span>
</div>
</div>
<div class="flex items-center gap-3 bg-surface-container-low p-1 rounded-md">
<button class="w-8 h-8 flex items-center justify-center hover:bg-slate-200 rounded transition-colors">
<span class="material-symbols-outlined text-[18px]" data-icon="remove">remove</span>
</button>
<span class="w-6 text-center font-semibold text-[14px]">3</span>
<button class="w-8 h-8 flex items-center justify-center hover:bg-slate-200 rounded transition-colors">
<span class="material-symbols-outlined text-[18px]" data-icon="add">add</span>
</button>
</div>
</div>
</div>
</main>
<!-- Sticky Bottom Input & Frequency Chips -->
<div class="fixed bottom-0 left-0 right-0 z-50 pb-8 pt-4 px-6 bg-surface/80 backdrop-blur-xl">
<div class="max-w-2xl mx-auto space-y-4">
<!-- Frequency Chips -->
<div class="flex items-center gap-2 overflow-x-auto no-scrollbar pb-2">
<span class="text-[11px] font-semibold uppercase tracking-wider text-slate-400 mr-2 shrink-0">Frequency</span>
<button class="px-4 py-2 bg-slate-200 hover:bg-slate-300 text-[13px] font-medium rounded-full whitespace-nowrap transition-colors">Milk</button>
<button class="px-4 py-2 bg-slate-200 hover:bg-slate-300 text-[13px] font-medium rounded-full whitespace-nowrap transition-colors">Bread</button>
<button class="px-4 py-2 bg-slate-200 hover:bg-slate-300 text-[13px] font-medium rounded-full whitespace-nowrap transition-colors">Eggs</button>
<button class="px-4 py-2 bg-slate-200 hover:bg-slate-300 text-[13px] font-medium rounded-full whitespace-nowrap transition-colors">Coffee</button>
<button class="px-4 py-2 bg-slate-200 hover:bg-slate-300 text-[13px] font-medium rounded-full whitespace-nowrap transition-colors">Butter</button>
</div>
<!-- Input Module -->
<div class="bg-surface-container-low rounded-md p-2 flex items-center gap-2 shadow-[0px_20px_40px_rgba(15,23,42,0.06)]">
<div class="flex-1 px-3">
<input class="w-full bg-transparent border-none focus:ring-0 text-[16px] placeholder:text-slate-400 p-0" placeholder="Add item..." type="text"/>
</div>
<div class="flex items-center gap-1 bg-surface-container-highest rounded px-1 py-1">
<button class="w-8 h-8 flex items-center justify-center text-slate-600 hover:text-slate-900">
<span class="material-symbols-outlined text-[18px]" data-icon="remove">remove</span>
</button>
<span class="w-6 text-center text-[14px] font-semibold">1</span>
<button class="w-8 h-8 flex items-center justify-center text-slate-600 hover:text-slate-900">
<span class="material-symbols-outlined text-[18px]" data-icon="add">add</span>
</button>
</div>
<button class="bg-slate-900 text-slate-50 w-10 h-10 flex items-center justify-center rounded-md hover:scale-95 transition-transform duration-200 ease-in-out">
<span class="material-symbols-outlined text-[20px]" data-icon="keyboard_return">keyboard_return</span>
</button>
</div>
</div>
</div>
<!-- Hidden Navigation Drawer (Instruction: Navigation hidden in sidebar) -->
<div class="fixed inset-y-0 left-0 z-[60] flex flex-col py-8 bg-[#f7f9fb] dark:bg-[#020617] h-full w-80 translate-x-[-100%] transition-transform duration-300 ease-monolith shadow-[0px_20px_40px_rgba(15,23,42,0.06)] group">
<div class="px-8 mb-10 flex items-center gap-4">
<div class="w-12 h-12 rounded-full overflow-hidden">
<img alt="User Profile" class="w-full h-full object-cover" data-alt="Professional portrait of a man with clean studio lighting and neutral background for an editorial profile" src="https://lh3.googleusercontent.com/aida-public/AB6AXuAmx0pXAEFtFArdYeIc_I6bM11g0g-XAXtwDlqqQdhQ_5jgvwDCSmKgdyxpH3b9op5BUHOLEpOjTen6SA2NYbJd8TgvM44aqmrw3LYm9plcs04RKZZIi-tAmJxkUr6a3eHllJ0CocmsAGywivc_EYyyH_nKq-dZvo3jryxh4cfNHQDQnvmxSfH_g_QArM7R_xfvOdYwNF6cd9h4fiPATt9X9v2lQmNxz3rsKVBf4g299IwLByi0nanUnkLaMKHsDH7cs8hED5WMFORt"/>
</div>
<div>
<h3 class="font-bold text-slate-900 dark:text-slate-50">Editorial Lead</h3>
<p class="text-[13px] text-slate-500">monolith.editorial@app.com</p>
</div>
</div>
<nav class="flex-1 space-y-1">
<div class="bg-slate-900 dark:bg-slate-50 text-slate-50 dark:text-slate-900 rounded-md mx-4 my-1 px-4 py-3 flex items-center gap-3">
<span class="material-symbols-outlined" data-icon="format_list_bulleted">format_list_bulleted</span>
<span class="font-['Inter'] text-[16px] font-normal">Lists</span>
</div>
<div class="text-slate-600 dark:text-slate-400 mx-4 my-1 px-4 py-3 flex items-center gap-3 hover:bg-slate-200 dark:hover:bg-slate-800 transition-colors">
<span class="material-symbols-outlined" data-icon="check_circle">check_circle</span>
<span class="font-['Inter'] text-[16px] font-normal">Tasks</span>
</div>
<div class="text-slate-600 dark:text-slate-400 mx-4 my-1 px-4 py-3 flex items-center gap-3 hover:bg-slate-200 dark:hover:bg-slate-800 transition-colors">
<span class="material-symbols-outlined" data-icon="description">description</span>
<span class="font-['Inter'] text-[16px] font-normal">Notes</span>
</div>
<div class="text-slate-600 dark:text-slate-400 mx-4 my-1 px-4 py-3 flex items-center gap-3 hover:bg-slate-200 dark:hover:bg-slate-800 transition-colors">
<span class="material-symbols-outlined" data-icon="search">search</span>
<span class="font-['Inter'] text-[16px] font-normal">Search</span>
</div>
<div class="text-slate-600 dark:text-slate-400 mx-4 my-1 px-4 py-3 flex items-center gap-3 hover:bg-slate-200 dark:hover:bg-slate-800 transition-colors mt-auto">
<span class="material-symbols-outlined" data-icon="settings">settings</span>
<span class="font-['Inter'] text-[16px] font-normal">User Settings</span>
</div>
</nav>
</div>
</body></html>