You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add comprehensive dark mode support to portal (#17)
* Add comprehensive dark mode support to portal
Features:
- Automatic system preference detection via prefers-color-scheme
- Manual toggle button (floating action button in bottom-right)
- Persistent user preference stored in localStorage
- Smooth color transitions
Dark mode styling:
- Inverted neutral color palette (#1A1A1A → #E8E8E8)
- Adjusted primary colors for better contrast (#4A9EFF)
- HTTP method badges with transparency overlays
- Comprehensive component coverage (cards, sidebar, code blocks, tables, modals, forms)
- Custom scrollbar styling
JavaScript:
- initDarkMode() IIFE with system preference fallback
- Theme toggle with icon state updates
- Guards against missing matchMedia in test environments
All 240 tests passing.
* Small code fixes
* Cleanup
0 commit comments