DDR 0280 amended: all four sign-in bridge pages use the Portal sign-in's band from one shared style #1896

Merged
ben merged 2 commits from session/bridge-pages-wear-the-band into main 2026-09-25 21:08:52 +00:00
Owner

Follow-up to #1889 (DDR 0280). Ben asked on 2026-09-25 to "bring those three inline too": the twelve-words sign-in, the signed-out page and the device-approval page. All four sign-in bridge pages now use the Portal sign-in's brand band.

One shared style: bandCSS in internal/idp/brand.go is the single page stylesheet, next to the existing shared logoCSS. It carries:

  • the kit's accent → secondary band, with text in --oc-text-on-accent;
  • the serif community-name <h1> (nameHeading());
  • the kit fonts, inlined via brandkit.FontFaceCSS();
  • the white .panel for anything a member types into, the kit's primary button style, and --oc-accent-deep links.

Each page adds only its own rules. The app door now uses it too, replacing its own copy.

  • Twelve words: the word boxes, the Sign in button and the error line sit on the panel. "Can't sign in? Ask your operator." sits on the band. The card width stays 380px (#1748).
  • Signed out: the band, the name, "You are signed out of …".
  • Device approval: the code and phrase inputs on the panel, and the approved state as a panel.

No selectors changed (data-field / data-action are the same), so the drives are unaffected.

Checked:

  • rendered all four pages with the tūī kit and a pale-yellow kit; they match, and text stays readable on both;
  • new TestBand_SharedAcrossSurfaces pins all five renders (device approval twice, once in its approved state) to bandCSS, the fonts and the heading, and checks that no system-font page is left;
  • internal/idp and internal/brandkit tests pass.

Sweep tickets filed for the rest of the app-wide consolidation: umbrella #1894; #1890 control panel, #1891 founding app, #1892 controlapi server pages, #1893 kanidm fonts; Matou/coa#158; Matou/matou-app#657.

Also carries DDR 0281 (Ben's ruling on the sweep tickets): branding is cohesive across Coa and IDSS. It means one token vocabulary (the kit's --oc-*), one type system (Merriweather + Roboto Mono) and one component voice. A community's own kit applies wherever a community is shown, and the Coa builder uses the kit's Mātou defaults. Plus the STATUS.md entry.

🤖 Generated with Claude Code

Follow-up to #1889 (DDR 0280). Ben asked on 2026-09-25 to "bring those three inline too": the twelve-words sign-in, the signed-out page and the device-approval page. All four sign-in bridge pages now use the Portal sign-in's brand band. **One shared style:** `bandCSS` in `internal/idp/brand.go` is the single page stylesheet, next to the existing shared `logoCSS`. It carries: - the kit's accent → secondary band, with text in `--oc-text-on-accent`; - the serif community-name `<h1>` (`nameHeading()`); - the kit fonts, inlined via `brandkit.FontFaceCSS()`; - the white `.panel` for anything a member types into, the kit's primary button style, and `--oc-accent-deep` links. Each page adds only its own rules. The app door now uses it too, replacing its own copy. - **Twelve words:** the word boxes, the Sign in button and the error line sit on the panel. "Can't sign in? Ask your operator." sits on the band. The card width stays 380px (#1748). - **Signed out:** the band, the name, "You are signed out of …". - **Device approval:** the code and phrase inputs on the panel, and the approved state as a panel. No selectors changed (`data-field` / `data-action` are the same), so the drives are unaffected. **Checked:** - rendered all four pages with the tūī kit and a pale-yellow kit; they match, and text stays readable on both; - new `TestBand_SharedAcrossSurfaces` pins all five renders (device approval twice, once in its approved state) to `bandCSS`, the fonts and the heading, and checks that no system-font page is left; - `internal/idp` and `internal/brandkit` tests pass. **Sweep tickets filed for the rest of the app-wide consolidation:** umbrella #1894; #1890 control panel, #1891 founding app, #1892 controlapi server pages, #1893 kanidm fonts; Matou/coa#158; Matou/matou-app#657. **Also carries DDR 0281** (Ben's ruling on the sweep tickets): branding is cohesive across Coa and IDSS. It means one token vocabulary (the kit's `--oc-*`), one type system (Merriweather + Roboto Mono) and one component voice. A community's own kit applies wherever a community is shown, and the Coa builder uses the kit's Mātou defaults. Plus the `STATUS.md` entry. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ben force-pushed session/bridge-pages-wear-the-band from c053d4aa68
All checks were successful
ci / seam (pull_request) Successful in 11m9s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
to 42e44f9691
All checks were successful
ci / seam (pull_request) Successful in 10m25s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
2026-09-25 19:42:18 +00:00
Compare
ben force-pushed session/bridge-pages-wear-the-band from 42e44f9691
All checks were successful
ci / seam (pull_request) Successful in 10m25s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
to 0358ee512b
All checks were successful
ci / seam (pull_request) Successful in 19m43s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
2026-09-25 21:08:35 +00:00
Compare
ben merged commit 77e11e320d into main 2026-09-25 21:08:52 +00:00
ben deleted branch session/bridge-pages-wear-the-band 2026-09-25 21:08:53 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss!1896
No description provided.