Skip to content

Enhance colors, contrast and hover states across interactive components - #524

Merged
devJaja merged 2 commits into
Epta-Node:mainfrom
ponmileleke54-dev:feat/380-colors-contrast-hover-states
Sep 1, 2026
Merged

Enhance colors, contrast and hover states across interactive components#524
devJaja merged 2 commits into
Epta-Node:mainfrom
ponmileleke54-dev:feat/380-colors-contrast-hover-states

Conversation

@ponmileleke54-dev

Copy link
Copy Markdown
Contributor

closed #380

What

WCAG AA contrast and confident interactive feedback across the UI.

  • Contrast: brightened low-contrast badge/pill text (#a5b4fc → #C7D2FE, #fbbf24 → #FCD34D, #fca5a5 → #FCA5A5) and lifted --text-secondary (#8A93A3 → #A5AEBD) so secondary text meets 4.5:1 on the dark surfaces.
  • Hover/press/focus: added consistent :hover, :active, and :focus-visible states to buttons, chips, toggles, sort headers, filter chips, nav items, table rows, and links across agents, tasks, wallet, dashboard, notifications, and layout components.
  • Elevation tokens: centralized press/elevation tokens (--press-scale, --press-brightness, --elevation-1/2/3) in global.css and added shared .pressable / focus-ring utilities in micro-interactions.css, with prefers-reduced-motion guards.

Also fixed

Prior broken merges had left several files unable to compile; these are repaired so the diff builds cleanly:

  • Removed duplicate ProtectedRoute import and a nested <Router> in App.tsx.
  • Restored react-hook-form wiring (useForm/reset) in SendXLMForm.tsx.
  • De-duplicated ToastContext.tsx (unused local ToastContainer, missing useContext import).
  • Removed unused vars in TransactionTable.tsx and dropped unused framer-motion wrapper in Hero.tsx.

Notes

Verification in this environment is blocked by an incomplete node_modules install (lucide-react, @hookform/resolvers, zod, msw are missing), which produces identical TS2307 Cannot find module errors across many unrelated files. The touched files are otherwise type-clean; a full npm ci && npm run build is recommended in CI before merge.

…onents (Epta-Node#380)

Introduce consistent interactive feedback across the UI for WCAG AA:
- Add tactile press (`:active`) and `:focus-visible` states to buttons,
  chips, toggles, sort headers, nav items and table rows.
- Brighten low-contrast badge/pill colors (e.g. #a5b4fc -> #C7D2FE,
  #fbbf24 -> #FCD34D) and lift --text-secondary for AA on dark surfaces.
- Centralize press/elevation tokens (--press-scale, --elevation-*) and add
  shared .pressable / focus-ring utilities with prefers-reduced-motion
  guards.

Also repair broken composition left by prior merges that blocked the build:
- Remove duplicate ProtectedRoute import and nested <Router> in App.
- Restore react-hook-form wiring (useForm/reset) in SendXLMForm.
- De-duplicate ToastContext (useContext import, local ToastContainer).
- Drop unused vars in TransactionTable and de-motion Hero.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@ponmileleke54-dev Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@ponmileleke54-dev is attempting to deploy a commit to the Jaja's projects Team on Vercel.

A member of the Team first needs to authorize it.

@devJaja

devJaja commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

@ponmileleke54-dev
Resolve the conflicts please

@ponmileleke54-dev

Copy link
Copy Markdown
Contributor Author

working on that now

@ponmileleke54-dev

Copy link
Copy Markdown
Contributor Author

done @devJaja

@devJaja
devJaja merged commit 206f034 into Epta-Node:main Sep 1, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance colors, contrast and hover states across interactive components

2 participants