Simplify modal, badge, and component styles to dark-first #29

Merged
TheFurya merged 1 commits from feature/ui-modernize-phase2 into develop 2026-02-17 21:08:55 +01:00
Owner

Summary

  • Remove all remaining dark: prefix pairs across modals, badges, and 20+ components
  • Simplify EncounterMethodBadge, ConditionBadge, and RuleBadges to dark-only color values
  • Replace stray text-gray-400/text-gray-500 with theme tokens (text-text-tertiary/text-text-secondary)
  • Replace blue-600 accent colors with theme accent tokens in modals and interactive elements
  • Only 4 intentional dark: occurrences remain (tooltip contrast in GenlockeLineage, bar overlay in Stats)

Test plan

  • Verify modals render correctly (EncounterModal, StatusChangeModal, EndRunModal, HofTeamModal, ShinyEncounterModal, EggEncounterModal, TransferModal, BossDefeatModal)
  • Verify badges display with correct colors (encounter methods, conditions, rules)
  • Check status badges (active/completed/failed) across RunDashboard, RunEncounters, GenlockeDetail, GenlockeList
  • Verify admin pages render correctly (drag handles, tab indicators, delete buttons)
  • Spot-check interactive states (hover, focus, selected) on buttons and cards

🤖 Generated with Claude Code

## Summary - Remove all remaining `dark:` prefix pairs across modals, badges, and 20+ components - Simplify EncounterMethodBadge, ConditionBadge, and RuleBadges to dark-only color values - Replace stray `text-gray-400`/`text-gray-500` with theme tokens (`text-text-tertiary`/`text-text-secondary`) - Replace `blue-600` accent colors with theme accent tokens in modals and interactive elements - Only 4 intentional `dark:` occurrences remain (tooltip contrast in GenlockeLineage, bar overlay in Stats) ## Test plan - [ ] Verify modals render correctly (EncounterModal, StatusChangeModal, EndRunModal, HofTeamModal, ShinyEncounterModal, EggEncounterModal, TransferModal, BossDefeatModal) - [ ] Verify badges display with correct colors (encounter methods, conditions, rules) - [ ] Check status badges (active/completed/failed) across RunDashboard, RunEncounters, GenlockeDetail, GenlockeList - [ ] Verify admin pages render correctly (drag handles, tab indicators, delete buttons) - [ ] Spot-check interactive states (hover, focus, selected) on buttons and cards 🤖 Generated with [Claude Code](https://claude.com/claude-code)
TheFurya added 1 commit 2026-02-17 21:03:18 +01:00
Simplify modal, badge, and remaining component styles to dark-first
All checks were successful
CI / backend-lint (pull_request) Successful in 9s
CI / actions-lint (pull_request) Successful in 14s
CI / frontend-lint (pull_request) Successful in 20s
3065b84856
Remove all dark: prefix pairs across modals, badges, and 20 remaining
components. Simplify EncounterMethodBadge, ConditionBadge, and
RuleBadges to dark-only color values. Replace stray text-gray-400/500
with theme tokens (text-tertiary/secondary). Replace blue-600 accent
colors with theme accent tokens in modals and interactive elements.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
TheFurya merged commit 92dad22981 into develop 2026-02-17 21:08:55 +01:00
TheFurya deleted branch feature/ui-modernize-phase2 2026-02-17 21:08:55 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pokemon/nuzlocke-tracker#29