forked from molecule-ai/molecule-core
Three matched fixes for the inline Delete-All and Delete-File confirm banners — same patterns shipped on ConfirmDialog/ApprovalBanner/ DeleteCascade: 1. Delete buttons hovered LIGHTER (bg-red-500 over bg-red-600). On white text drops below AA contrast. Flipped to bg-red-700. 2. Cancel buttons hover was a no-op (bg-surface-card on top of itself). Lift to surface-elevated, matching the Cancel pattern in ConfirmDialog. 3. None of the four buttons had focus-visible rings. Added danger ring on Delete, accent ring on Cancel, with ring-offset-surface so the offset color matches the inline banner backdrop. 4. Wrapped both confirm banners in role="alertdialog" + aria- labelledby pointing to the prompt text — SR users hear the destructive prompt immediately instead of as ambient text. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| e2e | ||
| public | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| components.json | ||
| Dockerfile | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| playwright.staging.config.ts | ||
| postcss.config.js | ||
| tsconfig.json | ||
| vitest.config.ts | ||