Skip to content

refactor(webui): replace daisy card stacks with Sentinel Paper cards #1133

Done

Description

@jatmn

🤖 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 in frontend/style.css: .bg-base-100, .bg-base-200, @layer utilities { .rounded-box }.
  • On main, frontend JS has 88 className: "card…" uses, 37 bg-base-100, and only 6 .sf-card uses — often stacked, e.g. className: "card bg-base-100 sf-card …" on Command Center and workbench inspectors in frontend/app.js.
  • Mantine Paper is already used (DraftCard, emptyPanel, several sections) and already themed in frontend/appearance.js. Sentinel .sf-card is the redesign's elevated card.

Switch-over

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-card only.
  • 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-actions class names are switched to Paper + .sf-card (or removed if a wrapper already provides them).
  • Unused .card* and .bg-base-* / leftover .rounded-box utilities 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.mjs assertions that today require .card and .bg-base-100 in the built CSS.

Activity

  1. jatmn commented on Dec 4, 2026

    @jatmn
    OwnerAuthor

    fix-issue-queue claim 2026-12-04T06:30:12Z df0c8d0127009209

  2. self-assigned this
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions