Add onboarding/soft-paywall/free-tier design spec + Stitch design reference
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,235 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html class="dark" lang="en"><head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<title>GreenLens - Onboarding</title>
|
||||
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Epilogue:wght@500;600;700&display=swap" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400&display=swap" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500&display=swap" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@400..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-primary-fixed-variant": "#2e4f00",
|
||||
"inverse-primary": "#41690c",
|
||||
"surface": "#0c160d",
|
||||
"on-tertiary-fixed": "#171d15",
|
||||
"primary-container": "#a6d66f",
|
||||
"on-error-container": "#ffdad6",
|
||||
"surface-dim": "#0c160d",
|
||||
"surface-container-lowest": "#071008",
|
||||
"secondary-fixed-dim": "#b7ccb5",
|
||||
"secondary": "#b7ccb5",
|
||||
"secondary-container": "#394b39",
|
||||
"on-surface": "#dae6d6",
|
||||
"primary-fixed": "#c0f287",
|
||||
"primary": "#c1f388",
|
||||
"on-primary": "#1e3700",
|
||||
"surface-bright": "#313c31",
|
||||
"tertiary-fixed": "#dee5d6",
|
||||
"error-container": "#93000a",
|
||||
"background": "#0c160d",
|
||||
"on-tertiary-fixed-variant": "#42493e",
|
||||
"on-tertiary": "#2c3229",
|
||||
"on-surface-variant": "#c3c9b6",
|
||||
"inverse-surface": "#dae6d6",
|
||||
"on-secondary": "#233424",
|
||||
"on-primary-container": "#365d00",
|
||||
"inverse-on-surface": "#283328",
|
||||
"surface-variant": "#2d372d",
|
||||
"surface-container-low": "#141e14",
|
||||
"surface-container-highest": "#2d372d",
|
||||
"surface-container-high": "#222d22",
|
||||
"tertiary-fixed-dim": "#c2c9bb",
|
||||
"tertiary-container": "#c3cabc",
|
||||
"outline": "#8d9382",
|
||||
"on-background": "#dae6d6",
|
||||
"on-secondary-fixed": "#0f1f10",
|
||||
"on-error": "#690005",
|
||||
"secondary-fixed": "#d3e8d0",
|
||||
"outline-variant": "#43493a",
|
||||
"error": "#ffb4ab",
|
||||
"on-secondary-fixed-variant": "#394b39",
|
||||
"on-tertiary-container": "#4e554a",
|
||||
"surface-tint": "#a5d56e",
|
||||
"tertiary": "#dfe6d8",
|
||||
"surface-container": "#182218",
|
||||
"on-secondary-container": "#a6bba4",
|
||||
"primary-fixed-dim": "#a5d56e",
|
||||
"on-primary-fixed": "#0f2000"
|
||||
},
|
||||
"borderRadius": {
|
||||
"DEFAULT": "0.25rem",
|
||||
"lg": "0.5rem",
|
||||
"xl": "0.75rem",
|
||||
"full": "9999px"
|
||||
},
|
||||
"spacing": {
|
||||
"unit": "8px",
|
||||
"gutter": "24px",
|
||||
"margin-mobile": "16px",
|
||||
"margin-desktop": "64px",
|
||||
"container-max": "1280px"
|
||||
},
|
||||
"fontFamily": {
|
||||
"display": [
|
||||
"Epilogue"
|
||||
],
|
||||
"headline-md": [
|
||||
"Epilogue"
|
||||
],
|
||||
"body-lg": [
|
||||
"Manrope"
|
||||
],
|
||||
"headline-lg": [
|
||||
"Epilogue"
|
||||
],
|
||||
"label-sm": [
|
||||
"JetBrains Mono"
|
||||
],
|
||||
"headline-lg-mobile": [
|
||||
"Epilogue"
|
||||
],
|
||||
"body-md": [
|
||||
"Manrope"
|
||||
]
|
||||
},
|
||||
"fontSize": {
|
||||
"display": [
|
||||
"64px",
|
||||
{
|
||||
"lineHeight": "1.1",
|
||||
"letterSpacing": "-0.02em",
|
||||
"fontWeight": "700"
|
||||
}
|
||||
],
|
||||
"headline-md": [
|
||||
"28px",
|
||||
{
|
||||
"lineHeight": "1.3",
|
||||
"fontWeight": "500"
|
||||
}
|
||||
],
|
||||
"body-lg": [
|
||||
"18px",
|
||||
{
|
||||
"lineHeight": "1.6",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
],
|
||||
"headline-lg": [
|
||||
"40px",
|
||||
{
|
||||
"lineHeight": "1.2",
|
||||
"letterSpacing": "-0.01em",
|
||||
"fontWeight": "600"
|
||||
}
|
||||
],
|
||||
"label-sm": [
|
||||
"12px",
|
||||
{
|
||||
"lineHeight": "1.0",
|
||||
"letterSpacing": "0.05em",
|
||||
"fontWeight": "500"
|
||||
}
|
||||
],
|
||||
"headline-lg-mobile": [
|
||||
"32px",
|
||||
{
|
||||
"lineHeight": "1.2",
|
||||
"fontWeight": "600"
|
||||
}
|
||||
],
|
||||
"body-md": [
|
||||
"16px",
|
||||
{
|
||||
"lineHeight": "1.6",
|
||||
"fontWeight": "400"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.material-symbols-outlined {
|
||||
font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24;
|
||||
}
|
||||
.icon-fill {
|
||||
font-variation-settings: 'FILL' 1, 'wght' 600;
|
||||
}
|
||||
|
||||
.fade-in-up-1 { animation: fadeInUp 0.8s ease-out 0.2s both; }
|
||||
.fade-in-up-2 { animation: fadeInUp 0.8s ease-out 0.4s both; }
|
||||
|
||||
@keyframes fadeInUp {
|
||||
from { opacity: 0; transform: translateY(15px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
body {
|
||||
min-height: max(884px, 100dvh);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="bg-surface h-screen w-full flex flex-col overflow-hidden antialiased text-on-surface selection:bg-primary-container selection:text-on-primary">
|
||||
<!-- Top 60% Image Section -->
|
||||
<div class="relative h-[574px] w-full flex-shrink-0">
|
||||
<div class="absolute inset-0 bg-cover bg-center w-full h-full" data-alt="A high-end, softly lit interior photography shot of a sleek wooden shelf filled with lush, healthy indoor houseplants including a vibrant Monstera and a small potted Basil. The setting is bright and airy, illuminated by natural morning sunlight creating a warm, modern aesthetic. The color palette emphasizes fresh natural greens against a soft, creamy background, fitting a premium lifestyle magazine layout." style="background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuA4uAMcvLFEJ2VgQ1TjVJ58xBi4YAa_V5XtYVfbGSpZAqonYJu56TJFY--BKMWxfBnecwSfeXvmKv9EwJKMH5eLLoIsP87j7tqZGUN4axa1C8Zk8Rvblw4tgpygjPRn634PK4nS5yHRkrxk0JXMu0nSl-yIlM4KQmbX_QuNVJaGPm-0RuY4jkSOMaIGg5UUeCuefUZeAhgp50PjNFeRqsXCj4rQPVCyP1BedEFOTx8Tvu-4PXol7WD2DqO-w8IhpHkrdzXMImLPiks')">
|
||||
</div>
|
||||
<!-- Gradient Overlay for contrast at the top/bottom -->
|
||||
<div class="absolute inset-0 bg-gradient-to-b from-black/40 via-transparent to-surface"></div>
|
||||
<!-- Floating Reminder Chips -->
|
||||
<div class="absolute inset-0 p-margin-mobile pt-16 flex flex-col gap-4 relative">
|
||||
<!-- Chip 1 -->
|
||||
<div class="fade-in-up-1 self-end mt-12 bg-surface-container-low/90 backdrop-blur-md px-3 py-2 rounded-full shadow-[0px_4px_20px_rgba(0,0,0,0.2)] flex items-center gap-2 border border-surface-variant max-w-max">
|
||||
<div class="w-8 h-8 rounded-full bg-secondary-container flex items-center justify-center text-on-secondary-container">
|
||||
<span class="material-symbols-outlined icon-fill text-[18px]">water_drop</span>
|
||||
</div>
|
||||
<div class="pr-2">
|
||||
<p class="font-label-sm text-label-sm text-on-surface">Water Monstera</p>
|
||||
<p class="font-label-sm text-[10px] text-tertiary-container mt-0.5">Today</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Chip 2 -->
|
||||
<div class="fade-in-up-2 self-start mt-8 ml-4 bg-surface-container-low/90 backdrop-blur-md px-3 py-2 rounded-full shadow-[0px_4px_20px_rgba(0,0,0,0.2)] flex items-center gap-2 border border-surface-variant max-w-max">
|
||||
<div class="w-8 h-8 rounded-full bg-tertiary-fixed flex items-center justify-center text-on-tertiary-fixed">
|
||||
<span class="material-symbols-outlined icon-fill text-[18px]">eco</span>
|
||||
</div>
|
||||
<div class="pr-2">
|
||||
<p class="font-label-sm text-label-sm text-on-surface">Fertilize Basil</p>
|
||||
<p class="font-label-sm text-[10px] text-on-surface-variant mt-0.5">In 3 days</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Bottom 40% Content Sheet -->
|
||||
<div class="relative flex-1 bg-surface-container-lowest rounded-t-[32px] -mt-8 z-10 px-margin-mobile pt-8 pb-10 flex flex-col justify-between shadow-[0px_-8px_30px_rgba(0,0,0,0.1)]">
|
||||
<!-- Text Content -->
|
||||
<div class="flex flex-col items-center text-center px-4">
|
||||
<h1 class="font-headline-lg-mobile text-headline-lg-mobile text-on-surface mb-3">Never Forget Watering</h1>
|
||||
<p class="font-body-lg text-body-lg text-on-surface-variant">Smart reminders and your personal plant library keep everything on track.</p>
|
||||
</div>
|
||||
<!-- Pagination & Actions -->
|
||||
<div class="flex flex-col items-center w-full gap-6 mt-auto">
|
||||
<!-- Progress Dots -->
|
||||
<div class="flex gap-2 items-center">
|
||||
<div class="w-2 h-2 rounded-full bg-surface-variant transition-colors duration-300"></div>
|
||||
<div class="w-2 h-2 rounded-full bg-surface-variant transition-colors duration-300"></div>
|
||||
<div class="w-8 h-2 rounded-full bg-primary transition-all duration-300"></div>
|
||||
</div>
|
||||
<!-- Primary Button -->
|
||||
<button class="w-full h-[56px] bg-primary-container hover:bg-primary text-on-primary-container font-label-sm text-label-sm rounded-lg flex items-center justify-center transition-all duration-200 active:scale-95 shadow-sm">
|
||||
Continue
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user