steid

@jamesgill /

fix: the new token sits on a background that exists

`bg-muted` is not a token and never was, so the one block on the page that has to
be read carefully — a secret shown once and never again — was rendering with no
background at all. The clone block and the push snippet were fixed when this was
found; this was the third and last of them.

`bg-surface`, the same as the other two. Checked in the served stylesheet rather
than assumed, because the failure mode here is silence: an unknown class ships
nothing and the page merely looks like a design mistake.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J18ViwAfdswUCMb2DXJZFG
JamesPatrickGill authored 14 hours agoparent610ab38Browse filesc3ca6da1dbdee61d1d4376d6838c04a49eadad3e

2 files changed+4 −4

plans/current.md+3 −3View file
@@ -251,9 +251,9 @@ instance, and Steid's own source is pushed to it and browsable there.
251251 revision *name*.
252252 - **`bg-muted` is not a token and never was.** Three `<pre>` blocks used it, so they
253253 have been rendering with no background at all — silently, exactly as `ui.md` warns
254 about classes Tailwind never ships. Fixed on the clone block and the empty-repository
255 push snippet; **`token.rs`'s new-token block still has it** and was left alone as
256 outside this step.
254+ about classes Tailwind never ships. Fixed on the clone block, the empty-repository
255+ push snippet and, last, `token.rs`'s new-token block. All three now use `bg-surface`,
256+ and `bg-muted` appears nowhere in `src/` — only `bg-muted-foreground`, which is real.
257257 - **The licence sniffer reads 1 KiB, not the 200 bytes first sketched.** BSD-2 and
258258 BSD-3 differ only by a third clause about 900 bytes in. `LICENSE-MIT` and other
259259 suffixed spellings are not detected: the filename list is deliberately short, because
src/infrastructure/web/token.rs+1 −1View file
@@ -158,7 +158,7 @@ async fn tokens_view(
158158 kind: FlashKind::Success,
159159 "Copy this now — it is not shown again."
160160 )
161 <pre class="overflow-x-auto rounded-lg border border-border bg-muted px-4 py-3 font-mono text-sm">(issued)</pre>
161+ <pre class="overflow-x-auto rounded-lg border border-border bg-surface px-4 py-3 font-mono text-sm">(issued)</pre>
162162 </div>
163163 }
164164