kanidm sign-in override declares the kit fonts but never loads them — bundle @font-face #1893
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#1893
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context: Ben, 2026-09-25 — "the coa, founding app and control panel should all be implemented with global css styles for consistency … create tickets for application wide sweeps across all platforms". Audit of the current state is summarised in the umbrella ticket. The shared kit is
packages/ui-kit/src/baseLayer.css(--oc-*tokens,--oc-font-serif= Merriweather,--oc-font-sans= Roboto Mono,.oc-linkbutton,.oc-card,.oc-callout--*,.oc-system-alert--*) plusOcButtonand the otherOc*components.Current state
internal/brandkit/idp_override_body.csssets--oc-font-*to Merriweather / Roboto Mono (~L23-28) but carries no@font-face, so the kanidm pages fall back to Georgia/monospace unless the fonts happen to be installed. The faces already exist embedded inbrandkit(idpFontCSS, exported asbrandkit.FontFaceCSS()by DDR 0280).Scope / acceptance
The kanidm override artifact includes the kit's
@font-facerules (one source:FontFaceCSS); a brandkit test proves the compiledIdpLoginSurfaceoverride contains the Merriweather and Roboto Mono faces; a kanidm-path drive screenshot shows the kit's type.🤖 Filed with Claude Code
Triage:
ready-for-agent, blocked by #1889 (keptenhancement)Verified against the tree — the premise needs a correction, and a dependency found.
The ticket says the kanidm override "carries no
@font-face, so the kanidm pages fall back to Georgia/monospace." That is already false at the compiled-artifact level:internal/brandkit/idp_override.gorendersidpFontCSS()— four@font-facerules with the Merriweather + Roboto Mono faces bundled asdata:URIs — and writes it into the override atRender(line 123, between the compiled:rootandidpOverrideBody). So the kanidm pages do get the kit faces today; they do not fall back. The rawidp_override_body.cssfile has no@font-face(true), but the compiledoverride.cssdoes.The real remaining work is the ticket's own acceptance clause: "one source:
FontFaceCSS." Today the faces are rendered by the localidpFontCSSinidp_override.go. PR #1889 introducesbrandkit.FontFaceCSS()as the shared single-source face export (refactored out of the kanidm override's faces) for the IDIP bridge band. So this ticket is the de-duplication half: route the kanidm override throughbrandkit.FontFaceCSS()and delete the now-duplicateidpFontCSS.That makes it blocked by #1889 (still OPEN) —
FontFaceCSSdoes not exist onmainyet. I have added the native Forgejo dependency; the swarm queue hides blocked slices, so it is invisible to workers until #1889 merges.Ruled by agent under ADR 0174 — veto anytime.
ready-for-agent-behind-a-dependency: fully specified once the premise is corrected, the acceptance is brandkit-test-provable, and the only gap is the not-yet-mergedFontFaceCSS. Two-way door — revertible per commit, provable by a brandkit test + a kanidm-path drive screenshot. Notlanding-pr(no origin-marker; internal ticket).Agent brief (unblocks when #1889 lands)
Goal: the kanidm override draws its
@font-facerules from the single shared sourcebrandkit.FontFaceCSS(), with no second copy.Approach: once #1889 has landed
brandkit.FontFaceCSS(), replace the call to the localidpFontCSS()inidp_override.go:Render(line 123) withbrandkit.FontFaceCSS()and delete the now-unusedidpFontCSS/idpFontFaces/idpFontFacemachinery (keeping the embeddedassets/fonts/*.woff2thatFontFaceCSSitself consumes). Verify byte-for-byte that the compiledIdpLoginSurfaceoverride still contains the four faces.Acceptance:
IdpLoginSurfaceoverride contains the Merriweather + Roboto Mono@font-facerules, sourced fromFontFaceCSS(one source; noidpFontCSS);swarm-claim host=bens-mac-04 run=32895
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=bens-mac-04 run=32926
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1893 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope