Build 0pt ordering flow: configurator, deposit/escrow, production tracker, validation
Customer order lifecycle on the mono design system: red + provenance tokens, useReveal hook, lib/data pricing model, ProvenanceBadge/CellProvenance, OrderStepper, and 4 routes with live pricing, 50/50 escrow, simulated production, 4-view validation. tsc clean; next build green (5 routes). Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
@@ -267,3 +267,51 @@
|
||||
.animate-fade-in {
|
||||
animation: fadeIn 0.7s ease-out forwards;
|
||||
}
|
||||
|
||||
/* ─────────────────────────────────────────────────────────────
|
||||
0pt additions: brand red (single accent) + provenance status
|
||||
colors + scroll-reveal API (IntersectionObserver via useReveal)
|
||||
───────────────────────────────────────────────────────────── */
|
||||
:root {
|
||||
--accent-red: #E40014; /* the single accent — one CTA / key number per screen */
|
||||
--prov-0: #737373; /* ej tillgänglig / licens krävs */
|
||||
--prov-1: #143AFF; /* en källa */
|
||||
--prov-2: #FCBB00; /* delvis bekräftad */
|
||||
--prov-3: #00D294; /* flera källor överens */
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
--color-accent-red: var(--accent-red);
|
||||
--color-prov-0: var(--prov-0);
|
||||
--color-prov-1: var(--prov-1);
|
||||
--color-prov-2: var(--prov-2);
|
||||
--color-prov-3: var(--prov-3);
|
||||
}
|
||||
|
||||
/* scroll-reveal contract: add class "reveal" (+ optional -left/-right/-scale/-fade
|
||||
and "delay-N") to children of an element wired with useReveal(). */
|
||||
.reveal,
|
||||
.reveal-left,
|
||||
.reveal-right,
|
||||
.reveal-scale,
|
||||
.reveal-fade { opacity: 0; }
|
||||
.reveal.in-view { animation: reveal-up 0.8s ease-out forwards; }
|
||||
.reveal-left.in-view { animation: reveal-left 0.8s ease-out forwards; }
|
||||
.reveal-right.in-view { animation: reveal-right 0.8s ease-out forwards; }
|
||||
.reveal-scale.in-view { animation: scale-in 0.6s ease-out forwards; }
|
||||
.reveal-fade.in-view { animation: fadeIn 0.7s ease-out forwards; }
|
||||
.delay-1 { animation-delay: 0.1s; }
|
||||
.delay-2 { animation-delay: 0.2s; }
|
||||
.delay-3 { animation-delay: 0.3s; }
|
||||
.delay-4 { animation-delay: 0.4s; }
|
||||
.delay-5 { animation-delay: 0.5s; }
|
||||
.delay-6 { animation-delay: 0.6s; }
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-fade {
|
||||
opacity: 1;
|
||||
animation: none;
|
||||
}
|
||||
.animate-float,
|
||||
.grain-overlay::before { animation: none; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user