Skip to content

Claude/v2 spacing workbench sync 38b80s - #7

Merged
fongandrew merged 3 commits into
mainfrom
claude/v2-spacing-workbench-sync-38b80s
Jul 2, 2026
Merged

Claude/v2 spacing workbench sync 38b80s#7
fongandrew merged 3 commits into
mainfrom
claude/v2-spacing-workbench-sync-38b80s

Conversation

@fongandrew

Copy link
Copy Markdown
Owner

No description provided.

claude added 3 commits July 2, 2026 06:21
…tory

- Promote every workbench slider to a named token with workbench defaults:
  --v-gap-section (1.5x) and --v-gap-tight (0.25x) join the spacing bundle;
  pad becomes 1.25x; input-height 2rem; radius anchors 2.5rem/0.375rem;
  --o-prose__heading-gap, --o-hgroup__leading, --v-list-rhythm defaults;
  new --v-card-bg, --v-input-bg, --v-backdrop, --v-border-color-strong
- Spec o-bar fully from workbench: one symmetric --o-bar__pad, three mode
  formulas (text/contains/input), sticky glass bg, one-row shrink contract,
  corner occupancy; top-level section flow with heading-led exception
- Scope text-box-trim to o-prose/o-stack text children via selector list;
  document the flex-container caveat; controls center by height math only
- Add c-table: --c-table__row-height defaults to --v-input-height but is
  decoupled; cell metrics use the control recipe, trim only as refinement
- Allow one nested o-box level via --o-box__radius-inner (deeper nesting
  bottoms out at the floor); box-in-box supported, card-in-card discouraged
- De-emphasize mixins: composition happens in markup (no o-card, no class
  mixing); formalize unlayered p- project prefix with discipline rules
- Author the demo site in Solid JSX + SSG from day one (render-only
  wrappers grow with the CSS; zero client JS on CSS-reference pages)
- Replace config modal + per-token slider islands with a three-tier
  customization story: site-wide theme workbench drawer (the page is the
  preview), scoped --o-* knob demos on the Objects page, mode toggles on
  component demos
- Make full-bleed a per-frame opt-in (data-v-bleed); split t-align-* (box)
  from t-text-* (text alignment); fix --v-font-ratio-max default to 1.2

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016DGKBZeR13TPtYn2Lp7XeV
…ed object modifier

- Remove o-text-box everywhere: text-box-trim removed the compensated-padding
  reason for a separate text box, so one padded box serves both content kinds.
  Prose in a box is o-box + o-prose (box owns perimeter/radius/curvature
  clearance; prose owns trim, rhythm, inline insets). Curvature clearance
  moves onto o-box itself; pre/blockquote/td stay base.css-padded text boxes.
  prose.css moves up to step 2 of the Phase 2 build order accordingly.
- Replace data-v-bleed with the --bleed frame modifier (o-container--bleed /
  o-dialog--bleed), following the o-grid--fit object-modifier precedent:
  full-bleed is an authoring-time structural mode, so a class — data-v-* is
  reserved for runtime state, and a custom property can't gate @container
  conditions (style() queries aren't dependable at the browser floor).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016DGKBZeR13TPtYn2Lp7XeV
v- classes may now flip documented modes of the o-/c- classes beneath them,
not just set custom properties — with two guardrails: variant rules target
library classes in their subtree only (a variant has no look of its own),
and every mode a variant flips is documented on the class it flips. Rename
the full-bleed opt-in from the o-container--bleed / o-dialog--bleed
modifiers to a single v-bleed variant (variants/bleed.css) that works on
any frame.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016DGKBZeR13TPtYn2Lp7XeV
@fongandrew
fongandrew merged commit 476294f into main Jul 2, 2026
3 checks passed
@fongandrew
fongandrew deleted the claude/v2-spacing-workbench-sync-38b80s branch July 2, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants