Files
Claude 4cbacdc4ea models, enso: dark mode on Hanzo's tokens (and shared fixes found on the way)
/models and /enso (cherry-picked onto this branch from claude/owner-ga-fixes-544845, where the
conductor confirmed copycheck missing 0 live) now read in dark: the page palettes (.xmo, Launch,
Enso, ModelCards) point at @hanzo/design tokens under html:not(.light); the "Use it now" button,
the code panel's live dot, caret and tab, and the switchboard's lit pills stay white on black in
both modes, as designed. darkcheck: /enso 0; /models 4, all a sibling fill behind selected chips or
the code panel's white tab (checked by eye).

Shared fixes: the .x-band / .x-modal solid buttons and the lit lane stay #f5f5f7 on black; dark
contexts written as [data-room='dark'] or .w2-dark/.lx-dark are left alone; white chips with fixed
dark text (selected .mb-chip, the pause buttons, sheet close buttons, segmented pills) keep their
white so their text stays readable.

Bright mode: lightcheck 0 diffs on /enso /kai /iro /payments /dev /api / vs 3c802582 (/models' one
diff is the earlier "11 ยท Suites won" line). 0 console errors, no sideways scroll at 1470x801 and
375x812 in both modes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01P5YBdxPteCvBL7f74SauJt
2026-11-08 11:23:40 +00:00

33 lines
3.1 KiB
CSS

.lx-spec-rows { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.lx-spec-row { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 14px; padding: 32px 24px 8px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.lx-spec-row:last-child { border-right: 0; margin-right: 0; }
.lx-spec-v { margin: 0; font-size: 64px; font-weight: 220; line-height: 1; color: var(--ink); white-space: nowrap; }
.lx-spec-l { font-size: 16px; line-height: 1.45; color: var(--muted); }
.lx-spec-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; flex-wrap: wrap; }
.lx-spec-open { background: none; cursor: pointer; }
.lx-spec-open svg { transition: transform .3s var(--e-io); }
@media (hover: hover) { .lx-spec-open:hover svg { transform: rotate(90deg); } }
/* the sheet */
.lx-sheet { position: fixed; inset: 0; z-index: 900; pointer-events: none; }
.lx-sheet[data-open] { pointer-events: auto; }
.lx-sheet-scrim { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(0, 0, 0, .3); opacity: 0; transition: opacity .3s var(--e-out, ease); cursor: default; }
.lx-sheet[data-open] .lx-sheet-scrim { opacity: 1; }
.lx-sheet-panel { position: absolute; left: 50%; bottom: 0; width: min(100%, 1040px); max-height: 86svh; overflow: auto; overscroll-behavior: contain; background: var(--x-raised); color: #0a0a0a; border-radius: 24px 24px 0 0; box-shadow: 0 -24px 60px -16px rgba(0, 0, 0, .18); transform: translate(-50%, 104%); visibility: hidden; transition: transform .4s cubic-bezier(.4, 0, .2, 1), visibility 0s .4s; --ink: #0a0a0a; --soft: #525252; --muted: #525252; --faint: #737373; --line: rgba(0, 0, 0, .1); }
.lx-sheet[data-open] .lx-sheet-panel { transform: translate(-50%, 0); visibility: visible; transition: transform .5s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.lx-sheet-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.lx-sheet-x { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: #0a0a0a; cursor: pointer; transition: background-color .15s cubic-bezier(0, 0, .2, 1), transform .15s cubic-bezier(0, 0, .2, 1); }
.lx-sheet-x:active { transform: scale(.97); transition-duration: .09s; }
@media (hover: hover) { .lx-sheet-x:hover { background: #f2f2f2; } }
.lx-sheet-body { padding: 28px; }
@media (max-width: 900px) {
.lx-spec-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lx-spec-row { padding: 24px 12px 8px 0; margin-right: 12px; }
.lx-spec-row:nth-child(2n) { border-right: 0; margin-right: 0; }
.lx-spec-v { font-size: 44px; }
.lx-spec-l { font-size: 15px; }
.lx-sheet-panel { border-radius: 24px 24px 0 0; }
.lx-sheet-bar { padding: 12px 20px; }
.lx-sheet-body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .lx-sheet-panel, .lx-sheet[data-open] .lx-sheet-panel { transition: visibility 0s; } }