Repository navigation
refactor(user-interface): move write-css layout and audit scope to keys - #14852
Conversation
The write-css foundations, layout, scroll-and-viewport, spacing-and-shape
and text-and-media recipes write each taste value as a {{key}} placeholder,
and each file's header points at reference/values.md. The audit launch
scope names animation.duration_ms.large, animation.skip_frequency and
states.wait_indicator_ms in place of their numbers.
Refs: #14316
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n gap Owner decision Q12. Refs: #14316 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7KASirHW2j2WiD68Ur
…g safe The content grid floors --breakout at the content plus two gutters, so a px content width and a rem breakout width can no longer collapse the breakout tracks. typography.fluid_max_ratio refuses a value above 2.5, and foundations.md states that WCAG 1.4.4 ceiling. The launch scope holds each product-UI motion role to its own duration ceiling, the button icon gap uses icon.label_gap_em, and the section pair rules and the concentric card border use spacing.l and css.border_px.standard. Refs: #14316 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7KASirHW2j2WiD68Ur
…urements-write-css-layout-audit
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-review reviewed Code review (incremental, blocking only): PR #14852 at
|
|
claude-security-review reviewed Security review: PR #14852 (incremental, d9df09e → fb3de5c)No security issues found. This review covers only the changes since ScopeI read the one hunk of the one file in scope, Checks run
Cost: none. The change cannot start a charge and adds no lane runs. critical-findings: 0 |
The button gap was 0.5rem, not 0.5em; only the two em rows take icon.label_gap_em (owner Q12). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7KASirHW2j2WiD68Ur
Closes #14316
session: Emil Kowalski X Posts
Summary
Problem: write-css layout, spacing, scroll, text and media recipes and the audit's launch scope stated taste values inline, so a team could not change them through config. Intent: "Everything should be configurable and extensible. We should never be hardcoding specific font sizes or ranges or any specific measurements and approaches."
These recipes now write each configurable value as a
{{key}}placeholder, and one new key covers the text-relative icon gap.Fix
icon.label_gap_em(default 0.5, heuristic) besideicon.label_gap_px, the wayicon.size_emsits besideicon.size_px(owner decision Q12, 2026-11-09); the two text-relative icon-gap recipes write it.foundations,layout,scroll-and-viewport,spacing-and-shapeandtext-and-media, and auditlaunch-scope, to name keys; floors stay stated.typography.fluid_max_ratioabove it.max({{layout.breakout_width}}, var(--content) + var(--gutter) * 2).duration_ms.largefor a dialog or sheet,duration_ms.pagefor a page transition).Verification
node --test plugins/user-interface/tests/*.test.mjs: 171 pass, 0 fail.scripts/check-affected.sh: 14 passed, 2 skipped; changelog fragments (17) and typos clean.Changed defaults (AC8)
Three recipes now follow their key's default:
layout.content_width(1200px; was 64rem). The breakout track is therefore about 40px a side at a 16px root (was 128px).spacing.flow(1lh; was 1em).spacing.xs.Acceptance criteria
Related
Refs #14214
🤖 Generated with Claude Code
https://claude.ai/code/session_01UJUn7KASirHW2j2WiD68Ur