Skip to content

fix(theme): configure darkMode class strategy and style common components (#41) - #86

Open
ghzhost wants to merge 1 commit into
StellarSend:mainfrom
ghzhost:fix/tailwind-darkmode
Open

fix(theme): configure darkMode class strategy and style common components (#41)#86
ghzhost wants to merge 1 commit into
StellarSend:mainfrom
ghzhost:fix/tailwind-darkmode

Conversation

@ghzhost

@ghzhost ghzhost commented Sep 2, 2026

Copy link
Copy Markdown

Summary

Closes #41

  • Sets darkMode: 'class' in tailwind.config.js so Tailwind's dark: variants react directly to the dark class managed by useTheme on the <html> element, instead of falling back to the OS-only media query default.
  • Updates src/components/common/Skeleton.tsx and src/components/common/NetworkError.tsx to use the app's established navy/slate color palette tokens (bg-navy-700/60, text-slate-300, text-slate-500) matching the rest of the dark design system.

Validation

  • Ran full test suite via NODE_ENV=test npm test (all 27 test files / 113 tests passing).

…ents (StellarSend#41)

- Add `darkMode: 'class'` to tailwind.config.js so useTheme's class toggle correctly drives dark: variants
- Update common/Skeleton and common/NetworkError to use app navy and slate palette matching fixed design system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant