Files
Checkmate/client/src/Components/design-elements
gorkem-bwl fef3f2c294 refactor(dialog): standard modal layout, NoticeBanner design-element, softer Cancel
Dialog component:
- Title bar gets a subtle background tint + bottom border. Title is
  variant=h2 weight=600. Description tucks under the title with
  variant=body1 secondary color (replaces MUI's DialogContentText).
- Action bar gets a matching subtle tint + top border. Cancel is now
  outlined (was contained-error, which made every modal's Cancel button
  look destructive). Confirm keeps its color (primary by default,
  caller can pass error for destructive flows).
- Content area sits between with its own breathing room baked in, so
  callers no longer need mt={theme.spacing(...)} workarounds.
- The cancelColor prop is removed; sites that genuinely need a
  destructive Cancel can use confirmColor='error' on the Confirm button
  instead.

NoticeBanner design-element:
- Extracted from the inline alert pattern in PageSpeedKeyPriorityFallback
  into a reusable component with severity=info|warning|error.
- Refactored PageSpeedKeyPriorityFallback to use it.

DialogResolution.tsx: drop the now-removed cancelColor prop and the
mt-Box wrapper that's no longer needed (Dialog provides the spacing).
2026-04-28 23:53:59 -04:00
..
2026-02-20 18:13:39 +00:00
2026-02-20 18:13:39 +00:00
2026-02-20 18:13:39 +00:00
2026-02-28 16:16:14 +00:00
2026-02-20 18:13:39 +00:00
2026-02-20 18:13:39 +00:00
2026-02-20 18:13:39 +00:00
2026-02-20 18:13:39 +00:00
2026-02-20 18:13:39 +00:00
2026-02-20 18:13:39 +00:00
2026-02-20 18:13:39 +00:00
2026-02-20 18:13:39 +00:00