The design language that makes your AI harness better at design.
JavaScript
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dimmed by a State vs Parked for a Reveal: Should Flag vs Should Pass</title>
<style>
/* Fixture for text faded by a box a visitor's action changes.
A stepper's inactive items held at 0.3 by a stylesheet, beside the
`is-active` item at 1, with an opacity transition (arc.net), are dim
at rest: low-contrast reports them at the faded colour, as advisory
(r13-t1), and so does a checkout stepper's next step, which has the
same shape. Items all faded alike, an item faded with no transition, an
inactive tab or clickable option (its label names the control a
visitor picks), a faint modifier on the dimmed box, identical class
lists, a stepper item whose active sibling is not shown, a disclosure `summary`
or menu checkbox item, a lone box parked
inline with a lit namesake elsewhere, keys parked alike whose lit peer
is not shown, parked nav links, a design token written inline, and a number written inline
with nothing to show it moves keep their severity.
A box a script parked in its `style` attribute at the start of a
reveal it has not played is not at rest, and its text is scored at
its declared colour:
- `opacity` with a transform and `will-change`, displaced (an
animation library's start values, framer.com);
- `opacity` that reads a custom property a script scrubs, with an
opacity transition (ramp.com);
- `opacity: 0.2` with an opacity transition on a set of boxes parked
alike, while the same component elsewhere on the page is already
revealed at 1 (raycast.com).
The static HTML engine reads no transition, transform or
`will-change`, so it reports the stepper item at full severity and
the parked card and key at their faded colour (it does not resolve
the scrubbed opacity, and scores that copy as declared); its output
is pinned by the oracle. The URL behavior
is pinned by crates/browser/tests/transient_opacity.rs. Every case
uses its own text colour so a finding names the case. */
body { font: 16px/1.5 system-ui, sans-serif; margin: 0; color: #111111; background: #ffffff; }
.grid { display: grid; grid-template-columns: 560px 560px; gap: 40px; padding: 24px 20px; }
.col { width: 560px; }
.col h2 { font: 600 20px/1.2 system-ui, sans-serif; margin: 0 0 16px; color: #111111; }
.col h3 { font: 600 16px/1.3 system-ui, sans-serif; margin: 28px 0 8px; color: #111111; }
.case { width: 480px; }
.case p, .case h4, .case span, .case a { margin: 0; font-size: 16px; line-height: 24px; font-weight: 400; }
/* Dimmed by a state: advisory. */
.step { opacity: 0.3; transition: opacity 0.3s; }
.step.is-active { opacity: 1; }
.step-title { color: #01060b; }
.step-active-title { color: #111111; }
/* Keep their severity. */
.foot-link { display: block; opacity: 0.4; transition: opacity 0.2s; color: #02070c; text-decoration: none; }
.tab { opacity: 0.3; }
.tab.is-current { opacity: 1; }
.tab-label { color: #03080d; }
.tab-current-label { color: #111111; }
.pick { border: 0; background: none; padding: 0; font: inherit; opacity: 0.4; transition: opacity 0.3s; color: #10161c; }
.pick.selected { opacity: 1; color: #111111; }
.inline-dim { transition: opacity 0.3s; }
.inline-dim-copy { color: #20262c; }
.badge { display: inline-block; transition: all 0.2s; }
.badge-copy { color: #2a2b2c; }
.nav-link { transition: opacity 0.2s; text-decoration: none; }
.nav-link-dim { color: #2b2c2d; }
.nav-link-current { color: #111111; }
.meta { transition: opacity 0.2s; color: #2c2d2e; }
:root { --muted: 0.4; }
.note { transition: opacity 0.2s; }
.note.faint { opacity: 0.4; color: #2d2e2f; }
.note-plain { color: #111111; }
.plan-option { cursor: pointer; opacity: 0.4; transition: opacity 0.2s; }
.plan-option.selected { opacity: 1; }
.plan-copy { color: #2e2f30; }
.plan-selected-copy { color: #111111; }
.size { display: inline-block; transition: opacity 0.2s; }
.size-copy { color: #2f3031; }
.size-full-copy { color: #111111; }
.checkout-step { display: inline-block; opacity: 0.4; transition: opacity 0.3s; }
.checkout-step.current { opacity: 1; }
.checkout-copy { color: #313233; }
.checkout-current-copy { color: #111111; }
.faq { display: block; opacity: 0.4; transition: opacity 0.2s; }
.faq.open { opacity: 1; }
.faq-copy { color: #3a3b3c; }
.faq-open-copy { color: #111111; }
.menu-item { opacity: 0.4; transition: opacity 0.2s; }
.menu-item.checked { opacity: 1; }
.menu-copy { color: #3b3c3d; }
.menu-checked-copy { color: #111111; }
.cap { display: inline-block; width: 64px; transition: opacity 0.4s; }
.cap.glowing { display: none; transition: opacity 1.5s; }
.cap-label { color: #4a4e52; }
.cap-lit-label { color: #111111; }
.tour { opacity: 0.3; transition: opacity 0.3s; }
.tour.is-active { display: none; opacity: 1; }
.tour-copy { color: #3c3d3e; }
/* Parked for a reveal: not at rest. */
.parked-card-copy { color: #050a0f; }
.scrubbed { transition: opacity 0.3s, transform 0.3s; }
.scrubbed-copy { color: #303438; }
.key { display: inline-block; width: 64px; transition: opacity 0.4s, box-shadow 0.2s; }
.key.glowing { transition: opacity 1.5s, box-shadow 1.5s; }
.key-label { color: #404448; }
.key-lit-label { color: #111111; }
</style>
</head>
<body>
<main class="grid">
<section class="col" data-col="flag">
<h2>Should flag</h2>
<h3>Inactive stepper item beside the active one (advisory)</h3>
<div class="case">
<article class="step is-active"><h4 class="step-active-title">Profiles</h4></article>
<article class="step"><h4 class="step-title">Sidebar tabs</h4></article>
</div>
<h3>Footer links all faded alike, with a hover transition</h3>
<div class="case">
<a class="foot-link" href="#a">Privacy</a>
<a class="foot-link" href="#b">Terms</a>
</div>
<h3>Inactive tab beside the current one, with no transition</h3>
<div class="case">
<div class="tab is-current"><span class="tab-current-label">Overview</span></div>
<div class="tab"><span class="tab-label">Pricing</span></div>
</div>
<h3>Inactive tab button beside the selected one, with a transition</h3>
<div class="case" role="tablist">
<button class="pick selected" role="tab" aria-selected="true">Fibre</button>
<button class="pick" role="tab" aria-selected="false">Mobile</button>
</div>
<h3>A number written inline, with nothing to show it moves</h3>
<div class="case"><div class="inline-dim" style="opacity: 0.2"><p class="inline-dim-copy">Archived projects</p></div></div>
<h3>A lone badge parked inline, a lit namesake in another section</h3>
<div class="case"><section><div class="badge" style="opacity: .35"><span class="badge-copy">Planned for 2027</span></div></section></div>
<h3>Nav links parked inline alike, the current one lit (a control)</h3>
<div class="case"><nav><ul>
<li><a class="nav-link active" href="#o"><span class="nav-link-current">Overview</span></a></li>
<li><a class="nav-link" href="#p" style="opacity: .4"><span class="nav-link-dim">Pricing</span></a></li>
<li><a class="nav-link" href="#d" style="opacity: .4"><span class="nav-link-dim">Docs</span></a></li>
<li><a class="nav-link" href="#c" style="opacity: .4"><span class="nav-link-dim">Changelog</span></a></li>
</ul></nav></div>
<h3>A design token written inline, with a transition</h3>
<div class="case"><p class="meta" style="opacity: var(--muted)">Last updated three days ago</p></div>
<h3>A faint modifier on the dimmed box, not a state</h3>
<div class="case">
<p class="note"><span class="note-plain">Your plan renews on 1 November.</span></p>
<p class="note faint">Cancel any time before that date.</p>
</div>
<h3>A clickable plan option beside the selected one (a control)</h3>
<div class="case">
<div class="plan-option selected"><span class="plan-selected-copy">Monthly, 12 EUR</span></div>
<div class="plan-option"><span class="plan-copy">Yearly, 120 EUR</span></div>
</div>
<h3>Identical classes, one dimmed inline</h3>
<div class="case">
<div class="size" style="opacity: 1"><span class="size-full-copy">S</span></div>
<div class="size" style="opacity: .4"><span class="size-copy">M, back in stock on 3 Dec</span></div>
</div>
<h3>Checkout stepper's next step beside the current one (advisory)</h3>
<div class="case"><ol>
<li class="checkout-step current"><span class="checkout-current-copy">1. Cart</span></li>
<li class="checkout-step"><span class="checkout-copy">2. Shipping</span></li>
</ol></div>
<h3>Stepper item whose active sibling is not shown (display: none)</h3>
<div class="case">
<article class="tour is-active"><h4 class="tour-copy">Spaces</h4></article>
<article class="tour"><h4 class="tour-copy">Split view</h4></article>
</div>
<h3>Disclosure summaries beside the open one (a control)</h3>
<div class="case">
<summary class="faq open"><span class="faq-open-copy">Can I pause my plan?</span></summary>
<summary class="faq"><span class="faq-copy">Do you offer refunds?</span></summary>
</div>
<h3>Unchecked menu checkbox items beside a checked one (a control)</h3>
<div class="case" role="menu">
<div class="menu-item checked" role="menuitemcheckbox" aria-checked="true"><span class="menu-checked-copy">Show grid</span></div>
<div class="menu-item" role="menuitemcheckbox" aria-checked="false"><span class="menu-copy">Show rulers</span></div>
</div>
<h3>Keys parked alike, the lit peer not shown (display: none)</h3>
<div class="case">
<div class="cap" style="opacity: 0.2"><span class="cap-label">fn</span></div>
<div class="cap" style="opacity: 0.2"><span class="cap-label">ctrl</span></div>
<div class="cap" style="opacity: 0.2"><span class="cap-label">opt</span></div>
</div>
<div class="case">
<div class="cap glowing"><span class="cap-lit-label">cmd</span></div>
</div>
</section>
<section class="col" data-col="pass">
<h2>Should pass</h2>
<h3>Card parked at its start values (URL engine)</h3>
<div class="case"><div class="parked-card" style="will-change: transform; opacity: 0.2; transform: translateX(-20px)"><p class="parked-card-copy">Design with an agent</p></div></div>
<h3>Copy held at the floor of a scrubbed opacity (URL engine)</h3>
<div class="case" style="--card-animation-1: 0"><div class="scrubbed" style="opacity: max(.2, var(--card-animation-1))"><p class="scrubbed-copy">Spend limits per card</p></div></div>
<h3>Key parked for a reveal the page plays below (URL engine)</h3>
<div class="case">
<div class="key" style="opacity: 0.2"><span class="key-label">esc</span></div>
<div class="key" style="opacity: 0.2"><span class="key-label">tab</span></div>
<div class="key" style="opacity: 0.2"><span class="key-label">caps</span></div>
</div>
<div class="case">
<div class="key glowing"><span class="key-lit-label">cmd</span></div>
</div>
</section>
</main>
</body>
</html>