Repository navigation
Done
Description
🤖 Kit (jatmn's assistant agent)
Replace daisy-era card bg-base-100 stacks with the shared Sentinel / Mantine card, then delete the leftover .card* and .bg-base-* utilities. This is a shared card-language rework from the #1127 audit (comment).
This is not a substitute for #1123. #1123 owns the page-by-page (and dialog) visual restyle, including Analytics, Resources, and the other data pages. This issue only standardizes the card primitive those pages should sit on.
Investigated read-only on main at de66727.
What we carry
- Daisy skins in
frontend/controls.css:.card,.card-border,.card-body,.card-title,.card-actions. Utilities infrontend/style.css:.bg-base-100,.bg-base-200,@layer utilities { .rounded-box }. - On
main, frontend JS has 88className: "card…"uses, 37bg-base-100, and only 6.sf-carduses — often stacked, e.g.className: "card bg-base-100 sf-card …"on Command Center and workbench inspectors infrontend/app.js. - Mantine
Paperis already used (DraftCard,emptyPanel, several sections) and already themed infrontend/appearance.js. Sentinel.sf-cardis the redesign's elevated card.
Switch-over
- One card language: Mantine
Paper(with border) plus.sf-cardfor elevation/radius/border. Stop stackingcard bg-base-100under.sf-card. - Update shared helpers such as
DraftCard,emptyPanel(hero bg-base-200 rounded-boxinfrontend/app.js), and list/template card wrappers so callers pick up the new primitive without a full page redesign. - Leave page-specific structure (bento grids, workbench inspectors, analytics KPI strips, Administration layout) to fix(webui): apply redesign styling to remaining pages and settings dialogs #1123. If this issue lands first, fix(webui): apply redesign styling to remaining pages and settings dialogs #1123 should use
Paper+.sf-cardon the pages it touches. If fix(webui): apply redesign styling to remaining pages and settings dialogs #1123 lands first, this issue finishes retiring leftover daisy card classes it did not already remove. - Also retire the unused
.text-warningutility if it is still unreferenced (the audit found no JS hits).
Order and overlap
- Can proceed in parallel with fix(webui): apply redesign styling to remaining pages and settings dialogs #1123 if both sides use the same primitive and do not fight class-name diffs. Prefer a short agreement: new markup is
Paper+.sf-cardonly. - Visual contrast of card vs page is #1125 (token work). Do not invent a second palette here.
- Removals follow the latest-upstream rule: official published packages only, no forks or patches.
Acceptance criteria
- Shared card wrappers and remaining daisy
card/bg-base-100/card-border/card-body/card-title/card-actionsclass names are switched toPaper+.sf-card(or removed if a wrapper already provides them). - Unused
.card*and.bg-base-*/ leftover.rounded-boxutilities are deleted once no markup uses them. - No page-by-page visual overhaul (no rebuilding Analytics/Resources layouts here).
- Light and Dark still work. Build and frontend tests pass, including
scripts/package-webui-test.mjsassertions that today require.cardand.bg-base-100in the built CSS.
Metadata
Metadata
Assignees
Labels
No labels
Activity
jatmn commentedon Dec 4, 2026
fix-issue-queue claim 2026-12-04T06:30:12Z df0c8d0127009209