Variant = importance, one primary per view, destructive rules, selection controls.
✓ Already right
✗ Violations
default (2), outline (4), subtle (5), white (1), color="dark" (2) — with no rule mapping treatment to importance.lg (4), sm (2), xs (3), unset (25) — no rule for when which.Same workday card under each tier system. Primary (filled green) is identical in both — the difference is the secondary/tertiary treatments.
filled = primary (1 per view) · default (gray border) = secondary · subtle = tertiary/inline. Kill outline, white, color="dark".
Today's workday
+ Matches current majority (default already used for steppers); neutral secondary keeps green scarce → primary pops.
− Secondary is visually quiet; on dense cards it can read as disabled.
filled = primary · outline (green border) = secondary · subtle = tertiary. Kill default, white, color="dark".
Today's workday
+ Stronger brand presence; secondary clearly interactive.
− Green everywhere dilutes the one-green rule from Section 1; steppers become louder than their job.
Real case: deleting a logged workday (currently one click, no confirm). Try both delete buttons.
Row action stays subtle red; click opens a dialog that restates what's deleted. Dialog's confirm = filled red with explicit verb ("Delete workday").
Mon, Jul 6 — 14 clicked · 5 qualified · 3 applied
Click Delete — dialog restates the target before anything happens.
+ Standard (Carbon/Polaris); friction proportional to irreversibility; no undo infrastructure needed.
− One extra click on every delete.
Delete fires instantly; a toast offers Undo for ~8s. Requires soft-delete or restore endpoint per deletable entity.
Mon, Jul 6 — 14 clicked · 5 qualified · 3 applied
Row disappears instantly; toast with Undo appears bottom-right (mock).
+ Zero friction for frequent deleters.
− Needs restore plumbing per entity (API + state); riskier while entities are few and deletes are rare.
Real case: the three brand-green CTA bands (home, privacy, terms). Section 2 permits variant="white" as the inverted-panel exception but bans color="dark" outright — and all three bands ship the two together. The rule contradicts the code, so one of them has to move.
size="lg" variant="white" color="dark" — app/page.tsx, app/privacy/page.tsx, app/terms/page.tsx. Identical treatment in all three.AppButton has no tier for this case, so all three call sites hand-wire raw Mantine props and bypass the primitive entirely.--color-brand-strong goes from #16a34a to #22c55e) — so the label colour has to hold in both schemes.Status quo, written down: variant="white" + color="dark" is the inverted-panel primary. The ban on color="dark" keeps applying everywhere else.
Ready to start
Sign up and start using the workspace.
Label on button face
Holds in dark mode
+ Zero code change; the rendered result is already approved.
− Call sites keep hand-wiring two raw Mantine props, so the primitive still can't enforce the pairing and a guard rule has to special-case it.
<AppButton tier="inverse"> resolves to variant="white" color="dark" internally. Renders identically; call sites stop naming Mantine variants.
Ready to start
Sign up and start using the workspace.
Label on button face
Holds in dark mode
+ Matches how every other tier works — the primitive owns the decision, not the page. The ban on color="dark" can then stay absolute in app code.
− One more tier to learn; needs the three call sites migrated.
Carbon's position: don't invert the button, keep a punchy filled CTA with a white label. Here that means a dark neutral button on the green band.
Ready to start
Sign up and start using the workspace.
White label on dark face
Button face vs band
+ Best face-against-band separation, and it keeps a single "buttons are filled shapes with light labels" mental model.
− Introduces a second neutral-dark action colour into a system that has exactly one brand colour, and it reads heavier than the band it sits on.
color="dark" actually doesMantine's white variant paints the label --mantine-color-{color}-filled. With no colour it falls back to the primary, so the label turns brand green on a white face — this is the drift the audit would have introduced if the ban had been applied literally.
Ready to start
Sign up and start using the workspace.
Green label on white face (light)
Green label on white face (dark mode)
Both fail the 4.5:1 floor for normal text (WCAG 1.4.3). Whatever option wins, the label colour has to be stated explicitly — it cannot be left to the theme default.
xs inside table rows / steppers · lg marketing heroes only. Nothing else.ActionIcon with aria-label; min 24px target (WCAG 2.5.8 AA), 44px where touch matters.Why Option A (quiet secondary):
default — codifies the majority pattern.Why Option 1 (confirm dialog):
Amendment found during adoption:
variant="white" is NOT killed — both uses sit on inverted (dark) marketing panels where it is the correct on-dark primary. Rule: white = primary on inverted panels only, never on normal surfaces.
Axis 3 — Option B (2026-09-08):
variant + color on three marketing pages was the only place that rule broke.AppButton, the ban on color="dark" can stay absolute in app code and the guard can enforce it without a marketing special case. Option A would have needed that special case forever.Applied at adoption:
outline → default (secondary tier).subtle color="dark" → plain subtle.AppButton gained tier="inverse"; the 3 CTA bands (home, privacy, terms) migrated off raw variant/color props.design-guard rule inverted-panel-raw-props now fails any variant="white" or color="dark" outside components/ui/, marketing files included.Design system for a freelance job-alert app. App copies are downstream.