From c8e973b32452fa72eb095613852c7c06415b126b Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Fri, 29 May 2026 03:50:23 -0700 Subject: [PATCH] Site polish: de-warm the palette, refine chrome, clean up /designing (#176) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(home): command-wheel contrast, slop copy, line-length Address P1/P2/P3 findings from /impeccable critique of the homepage: - Command wheel (The Language): off-center command names floored at ~1.43:1 contrast were illegible (WCAG 1.4.3 fail) and hid most of the 23-command vocabulary. Raise the fisheye opacity floor 0.25 -> 0.62, MIN_SCALE 0.35 -> 0.52, and lift the base color from --ks-text-muted to --ks-text. Off-center now measures >=4.59:1; full list stays scannable while gold + size + weight still carry focus. - Slop section copy: rewrite all 7 discipline cards off the uniform "No X. No Y. No Z." triad into varied cadence with positives, and lead the section with what Impeccable does instead of the "Skills can't..." negation pivot. Drops the en-dash joiners too. - Line length: cap .downloads-rebuild-note (was unbounded, ~102ch) and tighten the homepage .section-lead 68ch -> 62ch (rendered ~86 actual chars/line). The diagonal plinth ramp on the slop grid is intentionally kept per design preference. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(home): de-warm and brighten the text ramp Warmth now lives only in the gold accents and surfaces, not the type. Body, headings, and the secondary tiers read crisp on lacquer instead of mushing into the warm floor: - --ks-champagne 84% .035 82 -> 91% .006 90 (headings/strong, now neutral; token name kept for compatibility) - --ks-text 81% .03 82 -> 88% .008 90 (body) - --ks-text-muted / -faint / -mute-deep lifted and de-warmed to match DESIGN.md frontmatter + prose synced to the new values. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(home): outlined testimonials + cleaner hero boundary Testimonials: - Flatten the double container: drop the t-plinth shelf wrapper (markup + CSS); the marquee sits directly in the section and carries its inset. - Outlined cards: no fill, 1px solid neutral border (oklch .64 0 0 / .22), no dead drop-shadow. Removes the mushy gray-on-gray blend and the stacked dotted-divider + gold-hairline chrome. - Section has no background of its own (rides the body lacquer gradient) and no top padding, so cards sit right under the hero divider. Hero: - Drop the bottom fade and the top nav scrim; the kintsugi art runs at full strength. A 1px neutral border-bottom (matching the card border) marks the testimonials boundary instead of a wash. - "How it works" is the kit ghost link (white), not an outlined button. Foundation/slop cards: lift the surface 9% -> 15% so they read as raised specimen cards instead of vanishing into the ground. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(live): quieter, more refined picker chrome Gold is reserved for the brand mark and the active control instead of ringing every container. Applied to the homepage demo, /live-mode, and the real injected picker (skill/scripts/live-browser.js, rebuilt into the harness dirs): - Container: neutral 1px hairline + tight neutral shadow (was a 1.5px gold border + gold halo ring); radius 10px -> 8px. - Active toggle: crisp graphite pill with gold text (was a murky kinpaku-dim wash). - Internal control borders (action pill / input / count): neutral hairline (was a warm gold rule); configure-row controls share one 30px baseline. - Pick outline: crisp 1.5px line, no soft gold glow ring; tighter radius. - Demo browser chrome: small uniform neutral dots, neutral URL pill, slimmer bar; frame edge neutral hairline + tighter shadow that registers on dark. DESIGN.md "Live Mode Picker" spec + "Picker Is Brand Rule" updated. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(design): neutral default hairline (--ks-rule) The default border/divider token was a warm gold hairline, used ~200x as the site-wide default border — so every small label, pill, counter, card, and divider carried warmth. Redefine it neutral so borders read clean; gold stays where it signals. - --ks-rule oklch(58% 0.065 82 / 0.32) -> oklch(78% 0 0 / 0.16) - --ks-rule-strong (active/focus/brand borders) unchanged, still gold - GitHub star pill: explicit near-white border (oklch 92% 0 0 / 0.18) - DESIGN.md hairline mirror + prose synced Verified across home, /design-system, and /docs. Co-Authored-By: Claude Opus 4.8 (1M context) * fix(home): testimonials separator + visible star-pill border - Move the dotted accent to the bottom of the testimonials (neutral dots) as a deliberate separator into the slop section; drop the oversized bottom padding to 1em so cards sit near the separator. - Star-counter pill: solid oklch(80% 0 0) border. The previous near-white at 0.32 alpha rendered as faded mid-gray on the near-black pill; a solid light border reads as the intended white hairline. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(design): neutralize body text (--ks-text) Drop the last bit of warm chroma from the body text token; it still read slightly warm at 0.008 chroma. --ks-text oklch(88% 0.008 90) -> oklch(88% 0 0) (pure neutral) DESIGN.md mirror + prose synced. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(design): neutral text everywhere Zero the residual warm chroma across the rest of the text ramp so no text tier carries warmth (warmth lives only in gold accents + surfaces). - --ks-champagne 91% .006 90 -> 91% 0 0 - --ks-text-muted 72% .01 90 -> 72% 0 0 - --ks-text-faint 62% .008 90 -> 62% 0 0 - --ks-text-mute-deep 52% .008 90 -> 52% 0 0 (--ks-text was already neutralized.) DESIGN.md mirror + prose synced. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(home): crisp, neutral Desloppification section - Foundation card background: oklch(15% .004 95) -> oklch(15% 0 0) (neutral graphite) so cards read crisp, not warm. - Plinth hatch: kinpaku gold -> neutral (oklch 80% 0 0 / .07) on a neutral base; the gold hatch was washing the section champagne. - Remove the plinth bottom mask-fade so the pedestals end on a clean edge. Gold stays only on the card icons as the accent. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(home): drop the homepage warm-token overrides The homepage redefined --ks-rule, --ks-rule-strong, and --ks-muted to warm values locally (an old "busier surfaces" tweak), so homepage borders and secondary text stayed champagne even after the global de-warm. That's why the Desloppification cards still read warm. - Remove the --ks-rule / --ks-rule-strong overrides; inherit the global tokens (neutral default border, gold strong/active border). - Alias --ks-muted to the global --ks-text-muted (no divergent value); legacy code still reads the --ks-muted name. Result: all homepage borders + secondary text are neutral; gold stays on accents (icons, mark, CTAs, active/focus). Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(design): canonical code tokens (inline + block) Code styling was all over the place: homepage inline code was gold-on-gold, the slop CLI was a one-off gold-on-raised-lacquer, downloads used a separate --card-cmd-* set, docs used yet another. Add one shared token set and point the canonical surfaces at it. New :root tokens: - --ks-code-fg / --ks-code-bg / --ks-code-radius (inline: neutral chip) - --ks-code-block-fg / -bg / -border / -radius (block/CLI: lacquer terminal) - --ks-code-cmd (code that's a command link) Migrated: homepage inline code (was gold -> neutral chip), slop-teaser-cli (the "weird color" -> neutral terminal), downloads-cmd, and the docs inline + fenced-block rules (now the token source of truth; block text also neutralized). Remaining pages (designing, changelog/faq, detector, case studies) swept next. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(design): sweep remaining pages onto code tokens Point the rest of the site's code rules at the shared code tokens so inline code and blocks are consistent everywhere: - Inline code (designing, changelog, faq): gold -> neutral chip (--ks-code-fg / --ks-code-bg). - Detector rule pills + table cells: code text -> --ks-code-fg. - Neon-mirai case-study code block -> --ks-code-block-* tokens. Command tags (the gold /command pills: spread-flow-cmd, docs-flow-cmd, designing-phase-cmd, why-ci-cmd, etc.) are intentionally left as their own interactive category, not generic code. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(home): polish "The Language" section - Command tags (/polish, /adapt): gold command text on a neutral code chip (--ks-code-cmd / --ks-code-bg), dropping the muddy gold-tint border. - Commands panel kept as the solid oklch(0.17 0 0) panel (no border). - Demo preview cleaned up to a single framed split: strip the grid ::before, the gold-grid/radial-glow container background, and the inner drop-shadow; before-half inherits the panel, after-half is near-black, with one thin neutral border on the demo itself (caption sits outside it). - Periodic table: crisp flat neutral graphite tiles. Removed the JS-inlined category bg (var(--cat-*-bg)) + 1.5px colored border + hover drop-shadow, the gold-leaf ::before texture, the ::after accent line, the inset box-shadow, and the gold hover glow. Now a 1px neutral border, white symbols, readable neutral names, and a clean neutral-border hover with no shadow. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(design): roomier inline-code padding Inline code chips were tight top/bottom (the homepage one was only 0.05em). Add a --ks-code-pad token (0.3em 0.5em) and point every inline-code rule at it so the chips have consistent breathing room. Co-Authored-By: Claude Opus 4.8 (1M context) * refactor(home): drop non-steering commands from the command palette impeccable, init, extract, document, and live are setup/management commands, not steering verbs. Filter them out of the palette (fisheye + mobile carousel) via a shared PALETTE_EXCLUDED set. They stay in the periodic table, which is rendered separately by framework-viz.js. Palette: 23 -> 18 commands. Co-Authored-By: Claude Opus 4.8 (1M context) * fix(designing): flatten the pre-ship nested box The pre-ship cards were a box-in-box: a legacy .designing-polish-grid panel (cream bg + L/R/B border + padding, from docs-visuals.css) wrapping cards that already have their own border + fill. Override the grid to a plain transparent layout so the three cards are the only surface. Co-Authored-By: Claude Opus 4.8 (1M context) * fix(designing): remove step counter + flatten design-debt boxes - Drop the cryptic "03 · 04" pre-ship step counter (.designing-polish-band-meta) and tighten the band to a single bottom hairline. - Design-debt: flatten the box-in-box (bento plinth > tile > stage). The .designing-maintain-stage no longer adds its own border + fill; the demo sits directly in the bento tile. Co-Authored-By: Claude Opus 4.8 (1M context) * fix(designing): neutralize code/terminal/panel surfaces The terminal block, surface-cmd chips, command pills, live-frame, and other dark panels used a slightly-warm dark fill (oklch 1X% 0.006 95). Drop the warm chroma so they read neutral like the rest of the de-warmed site; the page ground + deep surfaces stay lacquer-warm. Co-Authored-By: Claude Opus 4.8 (1M context) * fix(designing): neutralize inline code + live-mock picker chrome - Inline code: the phase-sub and avoid-title code were still gold; point them at --ks-code-fg so all inline code reads neutral (gold stays only on command *links*). - docs-viz-live mock: bring the duplicated picker chrome in line with the refactored neutral treatment — neutral 1px container borders (no gold halo), neutral active "Pick" pill (was the kinpaku-dim wash), crisp pick outline (no glow), tighter radii. - CTAs (SEND ME ONE, Accept): pale-cream kinpaku-pale -> solid kinpaku gold. Co-Authored-By: Claude Opus 4.8 (1M context) * fix(designing): flatten lanes + avoid sections - Brand/Product lane mock cards: drop the inner border+fill box; the mock sits directly in the bento tile, separated by a top hairline (no plinth>tile>mock nesting). - "What to avoid" list: flatten the boxed list cards into a clean divided list (hairline separators, no per-item border/fill). Co-Authored-By: Claude Opus 4.8 (1M context) * fix(designing): clean up the Brand/Product lanes - Drop the bento plinth (0.17 fill + 8px gutter that drew the weird gutter "borders") and the tile fill; the two lanes sit on the page split by a single center hairline. - Brand mock title used the pinstripe display face at 1.6rem (reads broken at that size, the "champagne text"); switch it to the clean body face so it matches the product mock title. Co-Authored-By: Claude Opus 4.8 (1M context) * chore(site): update GitHub star count to 31k 31,188 stars as of now; header pill + aria-label were stale at 30k. Co-Authored-By: Claude Opus 4.8 (1M context) * Add Neo Kinpaku light mode across the site. Wire theme persistence and a header toggle, then layer light-mode overrides for docs viz contrast, command demos, live-mode pathway cards, and the designing/home surfaces. Co-authored-by: Cursor * fix(designing): replace em dashes flagged by prose validator Brand/Product lane copy used em dashes ("the deliverable —", "the task —"); swap for colons per STYLE.md so the Cloudflare build's validateProse passes. Co-Authored-By: Claude Opus 4.8 (1M context) * fix(designing): address Cursor bugbot nits - Fold the duplicate .designing-avoid { gap: 0 } override into the original rule (the gap: 18px was dead code). - Drop the leftover el.style.boxShadow = 'none' in the periodic-tile deactivate handler — activate no longer sets a box-shadow, so this only left a dead inline none that could suppress a future CSS shadow. Co-Authored-By: Claude Opus 4.8 (1M context) --------- Co-authored-by: Claude Opus 4.8 (1M context) Co-authored-by: Cursor --- .../skills/impeccable/scripts/live-browser.js | 33 +- .../skills/impeccable/scripts/live-browser.js | 33 +- .../skills/impeccable/scripts/live-browser.js | 33 +- .../skills/impeccable/scripts/live-browser.js | 33 +- .../skills/impeccable/scripts/live-browser.js | 33 +- .../skills/impeccable/scripts/live-browser.js | 33 +- .../skills/impeccable/scripts/live-browser.js | 33 +- .pi/skills/impeccable/scripts/live-browser.js | 33 +- .../skills/impeccable/scripts/live-browser.js | 33 +- .../skills/impeccable/scripts/live-browser.js | 33 +- .../skills/impeccable/scripts/live-browser.js | 33 +- .../skills/impeccable/scripts/live-browser.js | 33 +- DESIGN.md | 36 +- .../skills/impeccable/scripts/live-browser.js | 33 +- site/components/Header.astro | 20 +- site/components/Testimonials.astro | 2 - site/layouts/Base.astro | 20 + site/pages/design-system/index.astro | 16 + site/pages/designing/index.astro | 22 +- site/pages/index.astro | 33 +- .../candidates/finalists/m-01-v2-01-light.png | Bin 0 -> 2892620 bytes site/scripts/components/framework-viz.js | 7 +- site/scripts/components/glass-terminal.js | 17 +- site/scripts/data.js | 14 +- site/scripts/utils/theme.js | 56 +- site/styles/changelog-faq-kinpaku.css | 18 +- site/styles/design-system.css | 13 +- site/styles/designing-kinpaku.css | 181 +- site/styles/detector-lab.css | 4 +- site/styles/docs-kinpaku.css | 24 +- site/styles/docs-visuals.css | 8 +- site/styles/home-kinpaku.css | 432 +++-- site/styles/home-rebuild.css | 94 +- site/styles/kinpaku-kit.css | 71 +- site/styles/kinpaku-tokens.css | 103 +- site/styles/light-mode.css | 1625 +++++++++++++++++ site/styles/live-mode-kinpaku.css | 8 +- site/styles/testimonials.css | 65 +- site/styles/tokens.css | 16 + skill/scripts/live-browser.js | 33 +- 40 files changed, 2687 insertions(+), 680 deletions(-) create mode 100644 site/public/assets/neo-kinpaku/candidates/finalists/m-01-v2-01-light.png create mode 100644 site/styles/light-mode.css diff --git a/.agents/skills/impeccable/scripts/live-browser.js b/.agents/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.agents/skills/impeccable/scripts/live-browser.js +++ b/.agents/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/.claude/skills/impeccable/scripts/live-browser.js b/.claude/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.claude/skills/impeccable/scripts/live-browser.js +++ b/.claude/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/.cursor/skills/impeccable/scripts/live-browser.js b/.cursor/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.cursor/skills/impeccable/scripts/live-browser.js +++ b/.cursor/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/.gemini/skills/impeccable/scripts/live-browser.js b/.gemini/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.gemini/skills/impeccable/scripts/live-browser.js +++ b/.gemini/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/.github/skills/impeccable/scripts/live-browser.js b/.github/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.github/skills/impeccable/scripts/live-browser.js +++ b/.github/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/.kiro/skills/impeccable/scripts/live-browser.js b/.kiro/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.kiro/skills/impeccable/scripts/live-browser.js +++ b/.kiro/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/.opencode/skills/impeccable/scripts/live-browser.js b/.opencode/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.opencode/skills/impeccable/scripts/live-browser.js +++ b/.opencode/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/.pi/skills/impeccable/scripts/live-browser.js b/.pi/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.pi/skills/impeccable/scripts/live-browser.js +++ b/.pi/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/.qoder/skills/impeccable/scripts/live-browser.js b/.qoder/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.qoder/skills/impeccable/scripts/live-browser.js +++ b/.qoder/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/.rovodev/skills/impeccable/scripts/live-browser.js b/.rovodev/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.rovodev/skills/impeccable/scripts/live-browser.js +++ b/.rovodev/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/.trae-cn/skills/impeccable/scripts/live-browser.js b/.trae-cn/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.trae-cn/skills/impeccable/scripts/live-browser.js +++ b/.trae-cn/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/.trae/skills/impeccable/scripts/live-browser.js b/.trae/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/.trae/skills/impeccable/scripts/live-browser.js +++ b/.trae/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/DESIGN.md b/DESIGN.md index 4884adcb6..80bc90f4b 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -18,18 +18,18 @@ colors: graphite-2: "oklch(19% 0.008 95)" # one step up from graphite # Text - champagne: "oklch(84% 0.035 82)" # headlines, - text-warm: "oklch(81% 0.03 82)" # body - text-muted: "oklch(63% 0.024 82)" # captions, meta - text-faint: "oklch(52% 0.018 82)" # subdued - text-mute-deep: "oklch(48% 0.018 82)" # disabled + champagne: "oklch(91% 0 0)" # headlines, — neutral white (name kept for compat) + text-warm: "oklch(88% 0 0)" # body — neutral near-white + text-muted: "oklch(72% 0 0)" # captions, meta + text-faint: "oklch(62% 0 0)" # subdued + text-mute-deep: "oklch(52% 0 0)" # disabled # Gold ramp kinpaku-pale: "oklch(86% 0.07 84)" # hover lift, pale fills kinpaku-rich: "oklch(77% 0.13 82)" # active CTA, severity-medium kinpaku-deep: "oklch(61% 0.085 78)" # borders against the brand - gold-hairline: "oklch(58% 0.065 82 / 0.32)" # default rule - gold-hairline-strong: "oklch(74% 0.09 82 / 0.6)" # active rule + gold-hairline: "oklch(78% 0 0 / 0.16)" # default rule — neutral (name kept for compat) + gold-hairline-strong: "oklch(74% 0.09 82 / 0.6)" # active rule — gold # Patina ramp patina-pale: "oklch(82% 0.07 188)" # hover lift on patina @@ -272,16 +272,16 @@ Do not hand-type oklch values or font sizes in page CSS. If a value isn't in the - **Kinpaku Rich** (`oklch(77% 0.13 82)`): Active CTA fill and severity-medium markers. - **Kinpaku Deep** (`oklch(61% 0.085 78)`): Secondary gold for borders, subdued icons, and large technical diagrams. - **Kinpaku Pale** (`oklch(86% 0.07 84)`): Hover lift and pale fills. -- **Gold Hairline** (`oklch(58% 0.065 82 / 0.32)`): Default border and divider. The homepage's busier surfaces lift this to alpha 0.48 locally. -- **Strong Gold Hairline** (`oklch(74% 0.09 82 / 0.6)`): Active borders, focus outlines, and structural anchors. +- **Default Hairline** (`oklch(78% 0 0 / 0.16)`): Default border and divider. Neutral, so borders and labels don't carry warmth (token name `gold-hairline` / `--ks-rule` is legacy). +- **Strong Gold Hairline** (`oklch(74% 0.09 82 / 0.6)`): Active borders, focus outlines, and structural anchors. Stays gold — this is where the hairline is meant to read as brand. ### Text -- **Champagne** (`oklch(84% 0.035 82)`): Headlines, ``, important labels. -- **Warm Text** (`oklch(81% 0.03 82)`): Body copy on dark surfaces. -- **Muted Text** (`oklch(63% 0.024 82)`): Metadata, captions, secondary labels. The homepage lifts this to 65% on busier tile backgrounds. -- **Faint Text** (`oklch(52% 0.018 82)`): Subdued labels. -- **Mute Deep** (`oklch(48% 0.018 82)`): Disabled copy. +- **Champagne** (`oklch(91% 0 0)`): Headlines, ``, important labels. The brightest text tier, fully neutral (token name is legacy). Text carries no warmth at any tier; the gold accents and surfaces do. +- **Body Text** (`oklch(88% 0 0)`): Body copy on dark surfaces. Neutral and bright so reading copy reads crisp, not mushy. +- **Muted Text** (`oklch(72% 0 0)`): Metadata, captions, secondary labels. +- **Faint Text** (`oklch(62% 0 0)`): Subdued labels. +- **Mute Deep** (`oklch(52% 0 0)`): Disabled copy. ### Secondary and State @@ -387,16 +387,16 @@ The footer can carry the strongest oxidation accent. Use the gold seam plus pati The global bottom bar and the contextual bar (configure / cycling / accept) share one chrome treatment. Source of truth: `skill/scripts/live-browser.js` (`barPaletteForTheme`, `initGlobalBar`, `initBar`). Homepage and `/live-mode` demos mirror it via `.live-demo-gbar` and `.live-demo-ctx` in `site/styles/kinpaku-kit.css`. - **Surface:** Lacquer Deep (`oklch(4% 0.004 95)`), always. Picker chrome does not adapt to the host page's light/dark theme. -- **Border:** 1.5px solid Kinpaku Gold (`oklch(84% 0.19 80.46)`). -- **Shadow:** `0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)` (kinpaku halo + drop shadow). +- **Border:** 1px solid neutral hairline (`oklch(92% 0 0 / 0.13)`), radius 8px. The bar reads as a quiet precise tool; gold is reserved for the brand mark and the active control, not the container outline. +- **Shadow:** `0 16px 36px -12px oklch(0% 0 0 / 0.6)` (tight neutral drop, no gold halo ring). - **Brand mark:** Impeccable carved-tile icon (same SVG paths as `site/components/Header.astro` / `favicon.svg`), kinpaku fill on transparent ground. Not a "/" slash or rounded-square placeholder. - **Default controls:** Champagne labels at rest (`oklch(84% 0.035 82)`), muted icons (`oklch(63% 0.024 82)`). -- **Active toggle:** Kinpaku-dim pill background (`oklch(78% 0.12 82 / 0.18)`) with kinpaku text. +- **Active toggle:** Crisp graphite pill (`oklch(27% 0 0)`) with kinpaku text/icon. The gold carries the "selected" signal; the pill itself is neutral, not a kinpaku-dim wash. - **Exit hover:** Vermilion (`oklch(58% 0.15 35)`), not a neutral gray lift. - **Context bar internals:** Graphite-2 pills, gold hairline dividers, kinpaku Go/Accept CTAs with lacquer-deep text. - **DESIGN.md toggle icon:** Four-quadrant swatch; bottom-right uses warm charcoal (`oklch(34% 0.014 82)`) so the tile reads against lacquer-deep, not void-black. -**The Picker Is Brand Rule.** Live mode UI is Impeccable product chrome, not host-page chrome. It always ships the full kinpaku border, lacquer-deep fill, and carved-tile mark. +**The Picker Is Brand Rule.** Live mode UI is Impeccable product chrome, not host-page chrome. It always ships the lacquer-deep fill, the carved-tile mark, and gold on the mark + active control. Brand reads through the mark and the gold accent rather than a gold border ringing the bar; the container itself stays a quiet neutral-edged tool. ## 7. Do and Do Not diff --git a/plugin/skills/impeccable/scripts/live-browser.js b/plugin/skills/impeccable/scripts/live-browser.js index 97e65dd3a..ea68406a9 100644 --- a/plugin/skills/impeccable/scripts/live-browser.js +++ b/plugin/skills/impeccable/scripts/live-browser.js @@ -46,9 +46,11 @@ mist: 'oklch(90% 0.008 82 / 0.6)', // light hairline white: 'oklch(99% 0 0)', }; - // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css + // Picker bar chrome — mirrors .live-demo-gbar / .live-demo-ctx in kinpaku-kit.css. + // Quiet neutral elevation: no gold halo ring (gold is reserved for the brand + // mark and the active control, not the container outline). const PICKER_SHADOW = - '0 0 0 1px oklch(78% 0.12 82 / 0.18), 0 10px 28px oklch(0% 0 0 / 0.28)'; + '0 16px 36px -12px oklch(0% 0 0 / 0.6)'; const FONT = 'system-ui, -apple-system, sans-serif'; const MONO = 'ui-monospace, SFMono-Regular, Menlo, monospace'; // z-index: detect overlays use 99999, so our UI must be above them @@ -995,8 +997,8 @@ transform: 'translateY(6px)', transition: 'opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, background: BP.surface, - border: '1.5px solid ' + BP.border, - borderRadius: '10px', + border: '1px solid ' + BP.border, + borderRadius: '8px', boxShadow: BP.shadow, transition: 'box-shadow 0.2s ease, opacity 0.25s ' + EASE + ', transform 0.3s ' + EASE, fontFamily: FONT, fontSize: '13px', color: BP.text, @@ -1071,7 +1073,7 @@ barEl.innerHTML = ''; // Reset bar styling to the kinpaku picker palette barEl.style.background = BP.surface; - barEl.style.border = '1.5px solid ' + BP.border; + barEl.style.border = '1px solid ' + BP.border; barEl.style.boxShadow = BP.shadow; if (mode === 'configure') { barEl.appendChild(configureKind === 'insert' ? buildInsertConfigureRow() : buildConfigureRow()); @@ -2339,8 +2341,8 @@ transformOrigin: 'bottom left', transition: 'opacity 0.18s ' + EASE + ', transform 0.2s ' + EASE, background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, padding: '6px', fontFamily: FONT, @@ -6122,8 +6124,15 @@ void main() { return { surface: C.ink, surfaceDeep: C.ink, - border: C.brand, - hairline: 'oklch(58% 0.065 82 / 0.48)', + // Quiet neutral hairline (was the loud kinpaku gold border). Gold lives on + // the brand mark and the active control instead. + border: 'oklch(92% 0 0 / 0.13)', + // Crisp graphite pill behind the active toggle (was a murky kinpaku-dim + // wash); the gold text/icon carries the "selected" signal. + toggleActive: 'oklch(27% 0 0)', + // Neutral hairline for internal control borders / dividers (was a warm + // gold rule that read as muddy champagne edges on the pill / input / count). + hairline: 'oklch(92% 0 0 / 0.12)', text: 'oklch(84% 0.035 82)', textDim: 'oklch(63% 0.024 82)', accent: C.brand, @@ -7032,8 +7041,8 @@ void main() { display: 'flex', alignItems: 'stretch', gap: '0', background: P.surface, - border: '1.5px solid ' + P.border, - borderRadius: '10px', + border: '1px solid ' + P.border, + borderRadius: '8px', boxShadow: P.shadow, fontFamily: FONT, fontSize: '12px', lineHeight: '1', opacity: '0', @@ -7443,7 +7452,7 @@ void main() { // Sync one toggle's active state, colors, and slide-label visibility. function sync(btn, active) { if (!btn) return; - btn.style.background = active ? P.accentSoft : 'transparent'; + btn.style.background = active ? P.toggleActive : 'transparent'; btn.style.color = active ? P.accent : P.textDim; btn.dataset.active = active ? 'true' : 'false'; if (active && btn._expandLabel) btn._expandLabel(); diff --git a/site/components/Header.astro b/site/components/Header.astro index 1a7c2e7c2..8f0083f14 100644 --- a/site/components/Header.astro +++ b/site/components/Header.astro @@ -34,9 +34,25 @@ const { activeNav } = Astro.props; Slop Live - + + - 30k + 31k diff --git a/site/components/Testimonials.astro b/site/components/Testimonials.astro index 4ce4d2205..52e25845f 100644 --- a/site/components/Testimonials.astro +++ b/site/components/Testimonials.astro @@ -19,7 +19,6 @@ const rowB = all.slice(half); ---
-
@@ -71,5 +70,4 @@ const rowB = all.slice(half);
-
diff --git a/site/layouts/Base.astro b/site/layouts/Base.astro index 2976dd10d..ed2f8d598 100644 --- a/site/layouts/Base.astro +++ b/site/layouts/Base.astro @@ -6,6 +6,7 @@ import Footer from '../components/Footer.astro'; // to re-import from page-level stylesheets. import '../styles/kinpaku-tokens.css'; import '../styles/kinpaku-kit.css'; +import '../styles/light-mode.css'; import '../styles/footer.css'; interface Props { @@ -63,6 +64,21 @@ const resolvedOgDescription = ogDescription || description; {title} + {noIndex && } {canonical && } @@ -97,5 +113,9 @@ const resolvedOgDescription = ogDescription || description; {!hideFooter &&