Description
This is a UI/UX issue making the active network unmistakable in components/navbar/NetworkSwitcher.tsx via a chain-aware tint applied to its border-bottom, the WalletMenu avatar ring, and the active route indicator.
Requirements and Context
- Tints sourced from a
NETWORK_TINT map (mainnet, testnet, futurenet)
- Color-blind safe pairing: tint + chip label always shown together
- Persist last-used tint across reloads to avoid flash
- Must be secure, tested, and documented
- Should be efficient and easy to review
Suggested Execution
- Fork the repo and create a branch
git checkout -b feature/network-tint-system
- Implement changes
- Edit
components/navbar/NetworkSwitcher.tsx, WalletMenu.tsx
- Add
lib/network-tint.ts
- Test and commit
- Manual test switching between networks
- Cover edge cases (unknown chain id)
- Include test output and notes in the PR
Example commit message
feat: chain-aware tint system across navbar
Acceptance Criteria
Guidelines
- WCAG 2.1 AA, 3:1 contrast for non-text indicators
- Clear documentation and inline comments
- Timeframe: 96 hours
Description
This is a UI/UX issue making the active network unmistakable in
components/navbar/NetworkSwitcher.tsxvia a chain-aware tint applied to its border-bottom, the WalletMenu avatar ring, and the active route indicator.Requirements and Context
NETWORK_TINTmap (mainnet, testnet, futurenet)Suggested Execution
components/navbar/NetworkSwitcher.tsx,WalletMenu.tsxlib/network-tint.tsExample commit message
Acceptance Criteria
Guidelines