Review fixes: the bump-together rule, and what the door's hover reaches
Fable's review of 8da96ff (APPROVE AFTER FIXES): - the affected range is every rastrillo from v0.29.0 to v0.37.0 (checked), not only Fiesta 1.3.0. Today that's Docs, Equipo, Fichas and Mapa; - AGENTS.md now states the rule: bump rastrillo to v0.38.0 in the same change as estilo; - it says plainly that every ghost button inside the smart door gets the pill (the classic door's 'Use a different email' included), and that the door drawn outside estilo-signin-screen gets none; - drops the misleading Forget comparison; - the hover rule is skipped in print, where Fiesta clears hover faces.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+35
−15
AGENTS.md+26 −9theme/estilo.css+9 −6
CI passed — run details
CI log
=== modcache === all modules verified === vet === CGO_ENABLED=0 go vet ./... CGO_ENABLED=0 go vet -tags browser ./... === fmt === === build === CGO_ENABLED=0 go build -buildvcs=false ./... === go-test === CGO_ENABLED=0 go test -count=1 ./... ok amadan.net/oficina/estilo.git/base 0.004s ok amadan.net/oficina/estilo.git/brand 0.004s ok amadan.net/oficina/estilo.git/busy 0.009s ok amadan.net/oficina/estilo.git/callui 0.004s ok amadan.net/oficina/estilo.git/chrome 2.586s ? amadan.net/oficina/estilo.git/cmd/oficina-notices [no test files] ok amadan.net/oficina/estilo.git/colophon 0.023s ok amadan.net/oficina/estilo.git/credits 0.005s ok amadan.net/oficina/estilo.git/credits/catalog 0.004s ok amadan.net/oficina/estilo.git/desk 0.004s ok amadan.net/oficina/estilo.git/googleimport 1.253s ok amadan.net/oficina/estilo.git/homeconnect 0.004s ok amadan.net/oficina/estilo.git/internal/lint 0.006s ? amadan.net/oficina/estilo.git/internal/tokencheck [no test files] ok amadan.net/oficina/estilo.git/menu 0.010s ok amadan.net/oficina/estilo.git/savestatus 0.116s ok amadan.net/oficina/estilo.git/sky 0.031s ok amadan.net/oficina/estilo.git/theme 0.011s
diff --git a/AGENTS.md b/AGENTS.md| index 8bf0633..1719011 100644 |
| --- a/AGENTS.md |
| +++ b/AGENTS.md |
| @@ -129,18 +129,35 @@ What Calma is, and where each part lives: |
| - `--rst-focus-edge` falls back to the accent, not |
| `--rst-line-strong`: Fiesta 1.5.0's one focus ring turns the field's |
| edge to it with the 2px accent outline flush on it. Calma now |
| - declares `var(--rst-accent)`. **An app still on Fiesta 1.3.0** |
| - (rastrillo v0.34.0 to v0.37.0, so Fichas and Mapa today) draws its |
| - outline 2px off the edge, so bumping estilo past this commit without |
| - bumping rastrillo to v0.38.0 gives it two accent rings on focus. |
| + declares `var(--rst-accent)`. Every rastrillo from **v0.29.0 to |
| + v0.37.0** also reads `--rst-focus-edge` but draws its outline 2px off |
| + the edge, so under this Calma a focused field shows **two accent |
| + rings**. v0.28.0 and earlier don't read it and are unaffected. |
| - `--rst-ghost-face-hover` has two fallbacks: `transparent` for a |
| ghost button's hover, `--rst-surface-2` for the one-way sign-in |
| door's quiet controls. Calma keeps `transparent` at `:root` and sets |
| - `--rst-surface-2` on the smart door (`[estilo-signin-screen]`, the |
| - only place that door is drawn; estilo's hook, because the partial's |
| - `rst-` names are rastrillo's), so each use site draws its fallback. |
| - A ghost button the partial draws without one-way, inside that |
| - screen, gets the door's pill too, as estilo's own Forget does. |
| + `--rst-surface-2` on the smart door (`[estilo-signin-screen]`, |
| + estilo's hook, because the partial's `rst-` names are rastrillo's). |
| + Two consequences, both deliberate: |
| + - **Inside that screen, every ghost button** the partial draws gets |
| + the pill on hover, not only the one-way door's. The classic door's |
| + "Use a different email" (any rastrillo before v0.38.0, or v0.38.0 |
| + with `SigninOneWay` off) hovers with a full-width `surface-2` bar |
| + where its own fallback is `transparent`. That's a deviation from |
| + "each use site draws its fallback", accepted because no tighter |
| + selector exists without `rst-` names. |
| + - **Outside that screen,** the partial's one-way small controls get |
| + `transparent`: the text still darkens on hover and focus, but |
| + there's no pill. Drawing the door through `estilo-signin-screen` is |
| + the convention that gives the pill; nothing enforces it. |
| + |
| + **The rule: bump estilo and rastrillo together.** An app on rastrillo |
| + v0.29.0 to v0.37.0 (on 2026-11-20: Docs v0.29.2, Equipo v0.30.3, |
| + Fichas and Mapa v0.35.1) must move to rastrillo **v0.38.0 or later in |
| + the same change** that bumps estilo past this commit. Apps on v0.28.0 |
| + or earlier (Sheets, Slides, Calendar, Calls and Memoria, all v0.27.1) |
| + read neither token's new fallback and can bump estilo alone. Check an |
| + app's pin with `git show origin/main:go.mod`. |
| Nothing pins the equality, so re-check it whenever the snapshot is |
| regenerated. |
| **An app's own CSS can still change** if it reads one of these tokens |
diff --git a/theme/estilo.css b/theme/estilo.css| index 953f1fd..6a086a8 100644 |
| --- a/theme/estilo.css |
| +++ b/theme/estilo.css |
| @@ -191,12 +191,15 @@ |
| one-way sign-in door's quiet controls (Other ways to sign in, Back, Use |
| a different email) with --rst-surface-2, the soft pill under them on |
| hover and focus. One value at :root cannot be both, so the smart door |
| - (chrome's estilo-signin-screen, the one place that door is drawn) gets |
| - its own, and each use site draws its fallback. Keyed on estilo's hook, |
| - not the partial's rst- names, which are rastrillo's (AGENTS.md, |
| - Vocabulary). */ |
| -[estilo-signin-screen] { |
| - --rst-ghost-face-hover: var(--rst-surface-2); |
| + (chrome's estilo-signin-screen) gets its own. Every ghost button inside |
| + that screen gets the pill, and the door drawn outside it gets none |
| + (AGENTS.md, Theme). Keyed on estilo's hook, not the partial's rst- |
| + names, which are rastrillo's (AGENTS.md, Vocabulary). Not in print, |
| + where Fiesta clears hover faces. */ |
| +@media not print { |
| + [estilo-signin-screen] { |
| + --rst-ghost-face-hover: var(--rst-surface-2); |
| + } |
| } |
| /* The whole toggle. Setting color-scheme re-resolves every light-dark() |