Polish owl login after design review; add DESIGN.md

Fixes from the finish review of the natural owl:
- thinner glasses frames, closer to the user's reference owl
- smile-eyes on success instead of flat half-lids
- the page no longer shifts when an error appears; the card grows down
- invalid field keeps a red outline while focused
- stars stay clear of the title, owl and card
- softer ear tufts, warm glow under the owl, larger owl on desktop

DESIGN.md and .impeccable/design.json record the shipped system.
The surface brief records the seed reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
VasanthandClaude Opus 5.5 committed 2026-10-22 12:04:16 +05:30
1 parent 54fa7de9b0
commit 0317358dcf
4 files changed
+387 -16

No files matched your search

+123
View File
@@ -0,0 +1,123 @@
{
"schemaVersion": 2,
"generatedAt": "2026-10-22T12:00:00Z",
"title": "Design System: Charge Billed Automation",
"extensions": {
"colorMeta": {
"night": { "role": "neutral", "displayName": "Night Navy", "canonical": "#040b26", "tonalRamp": ["oklch(15% 0.057 267)", "oklch(25% 0.057 267)", "oklch(35% 0.057 267)", "oklch(45% 0.057 267)", "oklch(55% 0.057 267)", "oklch(68% 0.057 267)", "oklch(80% 0.057 267)", "oklch(95% 0.057 267)"] },
"panel": { "role": "neutral", "displayName": "Card Navy", "canonical": "#0c1638", "tonalRamp": ["oklch(15% 0.068 268)", "oklch(25% 0.068 268)", "oklch(35% 0.068 268)", "oklch(45% 0.068 268)", "oklch(55% 0.068 268)", "oklch(68% 0.068 268)", "oklch(80% 0.068 268)", "oklch(95% 0.068 268)"] },
"panel-line": { "role": "neutral", "displayName": "Card Edge", "canonical": "#26335e", "tonalRamp": ["oklch(15% 0.078 269)", "oklch(25% 0.078 269)", "oklch(35% 0.078 269)", "oklch(45% 0.078 269)", "oklch(55% 0.078 269)", "oklch(68% 0.078 269)", "oklch(80% 0.078 269)", "oklch(95% 0.078 269)"] },
"field": { "role": "neutral", "displayName": "Well Navy", "canonical": "#050c28", "tonalRamp": ["oklch(15% 0.059 268)", "oklch(25% 0.059 268)", "oklch(35% 0.059 268)", "oklch(45% 0.059 268)", "oklch(55% 0.059 268)", "oklch(68% 0.059 268)", "oklch(80% 0.059 268)", "oklch(95% 0.059 268)"] },
"field-line": { "role": "neutral", "displayName": "Field Edge", "canonical": "#56689c", "tonalRamp": ["oklch(15% 0.085 269)", "oklch(25% 0.085 269)", "oklch(35% 0.085 269)", "oklch(45% 0.085 269)", "oklch(55% 0.085 269)", "oklch(68% 0.085 269)", "oklch(80% 0.085 269)", "oklch(95% 0.085 269)"] },
"pill-fill": { "role": "neutral", "displayName": "Button Navy", "canonical": "#0a1435", "tonalRamp": ["oklch(15% 0.066 268)", "oklch(25% 0.066 268)", "oklch(35% 0.066 268)", "oklch(45% 0.066 268)", "oklch(55% 0.066 268)", "oklch(68% 0.066 268)", "oklch(80% 0.066 268)", "oklch(95% 0.066 268)"] },
"pill-fill-hover": { "role": "neutral", "displayName": "Button Navy Lifted", "canonical": "#101d45", "tonalRamp": ["oklch(15% 0.077 267)", "oklch(25% 0.077 267)", "oklch(35% 0.077 267)", "oklch(45% 0.077 267)", "oklch(55% 0.077 267)", "oklch(68% 0.077 267)", "oklch(80% 0.077 267)", "oklch(95% 0.077 267)"] },
"pill-line": { "role": "neutral", "displayName": "Moonlight Edge", "canonical": "#c9d5f2", "tonalRamp": ["oklch(15% 0.042 268)", "oklch(25% 0.042 268)", "oklch(35% 0.042 268)", "oklch(45% 0.042 268)", "oklch(55% 0.042 268)", "oklch(68% 0.042 268)", "oklch(80% 0.042 268)", "oklch(95% 0.042 268)"] },
"pill-text": { "role": "neutral", "displayName": "Pure White", "canonical": "#ffffff", "tonalRamp": ["oklch(15% 0 0)", "oklch(25% 0 0)", "oklch(35% 0 0)", "oklch(45% 0 0)", "oklch(55% 0 0)", "oklch(68% 0 0)", "oklch(80% 0 0)", "oklch(95% 0 0)"] },
"ink": { "role": "neutral", "displayName": "Starlight Ink", "canonical": "#eef2ff", "tonalRamp": ["oklch(15% 0.018 272)", "oklch(25% 0.018 272)", "oklch(35% 0.018 272)", "oklch(45% 0.018 272)", "oklch(55% 0.018 272)", "oklch(68% 0.018 272)", "oklch(80% 0.018 272)", "oklch(95% 0.018 272)"] },
"ink-2": { "role": "neutral", "displayName": "Mist Ink", "canonical": "#a9b6d8", "tonalRamp": ["oklch(15% 0.051 269)", "oklch(25% 0.051 269)", "oklch(35% 0.051 269)", "oklch(45% 0.051 269)", "oklch(55% 0.051 269)", "oklch(68% 0.051 269)", "oklch(80% 0.051 269)", "oklch(95% 0.051 269)"] },
"owl": { "role": "primary", "displayName": "Owl Orange", "canonical": "#ec7d33", "tonalRamp": ["oklch(15% 0.16 50)", "oklch(25% 0.16 50)", "oklch(35% 0.16 50)", "oklch(45% 0.16 50)", "oklch(55% 0.16 50)", "oklch(68% 0.16 50)", "oklch(80% 0.16 50)", "oklch(95% 0.16 50)"] },
"owl-soft": { "role": "primary", "displayName": "Lamplight Orange", "canonical": "#f5a25a", "tonalRamp": ["oklch(15% 0.132 60)", "oklch(25% 0.132 60)", "oklch(35% 0.132 60)", "oklch(45% 0.132 60)", "oklch(55% 0.132 60)", "oklch(68% 0.132 60)", "oklch(80% 0.132 60)", "oklch(95% 0.132 60)"] },
"error": { "role": "semantic", "displayName": "Soft Alarm", "canonical": "#ff9a9a", "tonalRamp": ["oklch(15% 0.121 20)", "oklch(25% 0.121 20)", "oklch(35% 0.121 20)", "oklch(45% 0.121 20)", "oklch(55% 0.121 20)", "oklch(68% 0.121 20)", "oklch(80% 0.121 20)", "oklch(95% 0.121 20)"] }
},
"typographyMeta": {
"display": { "displayName": "Display", "purpose": "Product name above the card. Single instance." },
"title": { "displayName": "Title", "purpose": "Signed-in confirmation heading. Single instance." },
"body": { "displayName": "Body", "purpose": "Subtitle and running copy, usually in Mist Ink." },
"label": { "displayName": "Label", "purpose": "Field labels, 8px above the field." },
"button": { "displayName": "Button", "purpose": "Pill button label." },
"input": { "displayName": "Input", "purpose": "Typed text; 16px avoids mobile zoom." },
"message": { "displayName": "Message", "purpose": "Error and caps-lock lines under the field." }
},
"shadows": [
{ "name": "night-lift", "value": "0 18px 40px rgba(0, 3, 15, .5)", "purpose": "The sign-in card only; the single raised surface. Single instance." }
],
"focusRings": [
{ "name": "control-focus", "value": "outline: 2px solid #ec7d33; outline-offset: 2px (input, plus border-color #ec7d33), 3px (pill button), 0 (reveal icon button)", "purpose": "Keyboard focus on every interactive element; turns #ff9a9a on an invalid field." }
],
"motion": [
{ "name": "control-transition", "value": ".15s ease-out", "purpose": "Pill button border and fill on hover." },
{ "name": "gaze", "value": "transform .14s ease-out", "purpose": "Owl irises following the caret." },
{ "name": "blink", "value": "transform .08s ease-out, 160ms, every 2.5-6s", "purpose": "Owl eyelids." },
{ "name": "breathe", "value": "3.2s ease-in-out infinite, translateY(1.5px)", "purpose": "Owl idle bob." },
{ "name": "shake-no", "value": ".65s ease-in-out; glasses wobble .65s with .07s delay", "purpose": "Wrong password." },
{ "name": "tilt", "value": ".8s ease-in-out, rotate(-10deg)", "purpose": "Empty submit." },
{ "name": "hop", "value": ".75s cubic-bezier(.3, .6, .35, 1), translateY(-14px) then -3px rebound; wings flap .75s; smile-eyes .12s ease-out", "purpose": "Successful sign-in." },
{ "name": "twinkle", "value": "4s ease-in-out infinite, opacity to .15", "purpose": "About a third of the stars." },
{ "name": "reduced-motion", "value": "prefers-reduced-motion: reduce", "purpose": "All owl and star animation and transitions off, no blink, success goes straight to the signed-in panel." }
],
"breakpoints": [
{ "name": "narrow", "value": "420px", "purpose": "Owl shrinks from 212px to 172px wide." }
]
},
"components": [
{
"name": "Pill Button",
"kind": "button",
"refersTo": "button-pill",
"description": "The dark outlined primary pill, after the user's HOOT button. Full card width. The only button variant in the build.",
"html": "<button class=\"ds-pill\">Sign in</button>",
"css": ".ds-pill { width: 100%; height: 46px; background: #0a1435; color: #fff; border: 1.5px solid var(--pill-line, #c9d5f2); border-radius: 999px; font: 600 15px \"Segoe UI Variable Text\", \"Segoe UI\", system-ui, -apple-system, sans-serif; letter-spacing: .02em; cursor: pointer; transition: border-color .15s ease-out, background-color .15s ease-out; } .ds-pill:hover { border-color: var(--owl, #ec7d33); background: #101d45; } .ds-pill:active { transform: translateY(1px); } .ds-pill:focus-visible { outline: 2px solid var(--owl, #ec7d33); outline-offset: 3px; } @media (prefers-reduced-motion: reduce) { .ds-pill { transition: none; } }"
},
{
"name": "Pill Password Field",
"kind": "input",
"refersTo": "input-pill",
"description": "Recessed dark pill field with the show/hide eye inset at its right end; error state turns border and outline Soft Alarm.",
"html": "<div class=\"ds-wrap\"><label class=\"ds-label\" for=\"ds-pw\">Password</label><div class=\"ds-field\"><input class=\"ds-input\" id=\"ds-pw\" type=\"password\" value=\"hoot\"><button type=\"button\" class=\"ds-reveal\" aria-label=\"Show password\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M2.5 12s3.5-6.5 9.5-6.5 9.5 6.5 9.5 6.5-3.5 6.5-9.5 6.5S2.5 12 2.5 12z\"/><circle cx=\"12\" cy=\"12\" r=\"2.8\"/></svg></button></div></div>",
"css": ".ds-wrap { width: 312px; color: var(--ink, #eef2ff); font: 15px/1.5 \"Segoe UI Variable Text\", \"Segoe UI\", system-ui, sans-serif; } .ds-label { display: block; font-weight: 600; margin-bottom: 8px; } .ds-field { position: relative; } .ds-input { width: 100%; box-sizing: border-box; height: 46px; padding: 0 52px 0 20px; background: var(--field, #050c28); color: var(--ink, #eef2ff); border: 1px solid var(--field-line, #56689c); border-radius: 999px; font: 16px \"Segoe UI Variable Text\", \"Segoe UI\", system-ui, sans-serif; letter-spacing: .04em; caret-color: var(--owl, #ec7d33); } .ds-input:focus-visible { outline: 2px solid var(--owl, #ec7d33); outline-offset: 2px; border-color: var(--owl, #ec7d33); } .ds-input[aria-invalid=\"true\"] { border-color: var(--error, #ff9a9a); outline-color: var(--error, #ff9a9a); } .ds-reveal { position: absolute; top: 4px; right: 4px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--ink-2, #a9b6d8); cursor: pointer; } .ds-reveal:hover { color: var(--ink, #eef2ff); background: rgba(201, 213, 242, .1); } .ds-reveal:focus-visible { outline: 2px solid var(--owl, #ec7d33); outline-offset: 0; color: var(--ink, #eef2ff); } .ds-reveal svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }"
},
{
"name": "Field Messages",
"kind": "custom",
"description": "Error line in Soft Alarm and caps-lock note in Lamplight Orange, 14px, 8px under the field.",
"html": "<div class=\"ds-msgs\"><p class=\"ds-note\">Caps Lock is on</p><p class=\"ds-error\">That password isn't right. Try again.</p></div>",
"css": ".ds-msgs { background: var(--panel, #0c1638); padding: 12px 16px; font: 14px/1.5 \"Segoe UI Variable Text\", \"Segoe UI\", system-ui, sans-serif; } .ds-note, .ds-error { margin: 8px 0 0; } .ds-note { color: var(--owl-soft, #f5a25a); } .ds-error { color: var(--error, #ff9a9a); }"
},
{
"name": "Night Card",
"kind": "card",
"refersTo": "card",
"description": "The single raised surface: Card Navy, 1px Card Edge, 18px corners, night-lift shadow. Single instance.",
"html": "<section class=\"ds-card\"><h2 class=\"ds-title\">Run screen coming soon</h2><p class=\"ds-body\">You're signed in. This is where you'll start and watch the bot.</p></section>",
"css": ".ds-card { width: min(360px, 100%); box-sizing: border-box; padding: 28px 24px 24px; background: var(--panel, #0c1638); border: 1px solid var(--panel-line, #26335e); border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 3, 15, .5); color: var(--ink, #eef2ff); font: 15px/1.5 \"Segoe UI Variable Text\", \"Segoe UI\", system-ui, sans-serif; } .ds-title { margin: 0; font-size: 20px; } .ds-body { margin: 6px 0 0; color: var(--ink-2, #a9b6d8); }"
},
{
"name": "Night Sky Header",
"kind": "custom",
"description": "Night Navy ground with small round stars, display product name and Mist Ink subtitle.",
"html": "<div class=\"ds-sky\"><span style=\"left:12%;top:20%;--c:#6ea8ff\"></span><span style=\"left:80%;top:30%;--c:#4fd1c5\"></span><span style=\"left:30%;top:78%;--c:#f29c4b\"></span><span style=\"left:66%;top:84%;--c:#dfe7ff\"></span><h1 class=\"ds-h1\">Charge Billed Automation</h1><p class=\"ds-sub\">Sign in to run the bot</p></div>",
"css": ".ds-sky { position: relative; padding: 48px 16px; background: var(--night, #040b26); color: var(--ink, #eef2ff); text-align: center; font: 15px/1.5 \"Segoe UI Variable Text\", \"Segoe UI\", system-ui, sans-serif; } .ds-sky span { position: absolute; width: 2.5px; height: 2.5px; border-radius: 50%; background: var(--c); opacity: .7; animation: ds-twinkle 4s ease-in-out infinite; } @keyframes ds-twinkle { 50% { opacity: .15; } } .ds-h1 { margin: 0; font-size: clamp(24px, 6vw, 30px); font-weight: 650; line-height: 1.2; letter-spacing: -.01em; } .ds-sub { margin: 8px 0 0; color: var(--ink-2, #a9b6d8); } @media (prefers-reduced-motion: reduce) { .ds-sky span { animation: none; } }"
}
],
"narrative": {
"northStar": "The Owl's Night Watch",
"overview": "A calm night sky, one lit card, and a smooth, softly shaded orange owl perched on its top edge who watches you type. Everything around the owl is quiet and dark: deep navy ground, a few small round stars, dark outlined pill controls, and the platform's own UI face. The owl is the only warm thing on the screen and the only thing that moves with purpose; its reactions (eyes following the caret, a head-shake on a wrong password, a hop on success) carry the feedback alongside plain text, never instead of it.\n\nThe world is rendered natural, not game-like. The user explicitly rejected a pixel-art or game look (\"it must not look like a game, be natural\"): shapes are smooth vector curves with radial-gradient shading, stars are soft round dots, motion is short and eased. This is an Operate tool for an ops team, so density stays low and copy stays plain.\n\nThe system has been built on one surface so far (the sign-in page). Anything below described as a single instance has only that one use in the build and should be treated as provisional, not a pattern.",
"keyCharacteristics": [
"Deep navy night ground with a sparse, seeded field of small round stars, kept clear of text and controls.",
"One warm accent, owl orange, reserved for the owl, focus rings, caret, selection and the hover border.",
"Dark outlined pill controls for both the field and the button, after the user's HOOT button.",
"Platform UI face for every text role, including the product name.",
"A smooth shaded owl mascot whose states are the page's expressive feedback; reduced motion turns them all off."
],
"rules": [
{ "name": "The One Warm Thing Rule", "body": "Orange belongs to the owl. In the UI it appears only as a signal (focus, caret, selection, hover border, the caps-lock note); controls and surfaces stay navy.", "section": "colors" },
{ "name": "The Clear Sky Rule", "body": "Stars never sit behind text, the owl or the card; they are placed with a 10px keep-out around each and redrawn on resize from a fixed seed so they do not jump.", "section": "colors" },
{ "name": "The Single Lift Rule", "body": "One raised surface per screen; controls are outlined, not shadowed.", "section": "elevation" }
],
"dos": [
"Do keep the ground Night Navy and let the owl be the only warm, shaded object on screen.",
"Do use Owl Orange for focus rings (2px outline) on every interactive element.",
"Do build controls as dark outlined pills (999px, 46px tall) for both fields and primary buttons.",
"Do say in text whatever the owl expresses; the owl is decoration with feedback, never the only feedback.",
"Do give every owl or star animation a reduced-motion path that turns it off.",
"Do keep stars small (1.5 to 3px), round, sparse, seeded and clear of text and controls.",
"Do use clearly fake sample data in any design, mockup or screenshot (real run output is PHI)."
],
"donts": [
"Don't make it look like a game: no pixel art, stepped edges, chunky pixel fonts or arcade effects (user decision, 22 Oct).",
"Don't fill controls with orange; orange is a signal, not a surface.",
"Don't add shadows to controls; the card is the only lifted object.",
"Don't add a second type family for display; hierarchy comes from weight and size in the platform face."
]
}
}