Skip to content

feat: Add dark theme support with system preference detection#333

Open
pesnik wants to merge 1 commit intolovasoa:masterfrom
pesnik:feature/dark-theme
Open

feat: Add dark theme support with system preference detection#333
pesnik wants to merge 1 commit intolovasoa:masterfrom
pesnik:feature/dark-theme

Conversation

@pesnik
Copy link

@pesnik pesnik commented Feb 7, 2026

  • Implements CSS custom properties for light/dark themes
  • Auto-detects system dark mode preference via prefers-color-scheme
  • Adds theme toggle button with persistent localStorage preference
  • Updates all SVG tool icons to use currentColor for compatibility
  • Adds toggle_theme translations for all 21 languages
  • Includes smooth CSS transitions (excludes canvas for performance)
  • Improves accessibility with ARIA attributes and focus indicators
  • Ensures WCAG AA color contrast compliance Closes Dark theme / dark reader support #219
By opening a pull request, I certify that I hold the intellectual property of the code I am submitting, and I am granting the initial authors of WBO a perpetual, worldwide, non-exclusive, royalty-free, and irrevocable license to this code.

- Implements CSS custom properties for light/dark themes
- Auto-detects system dark mode preference via prefers-color-scheme
- Adds theme toggle button with persistent localStorage preference
- Updates all SVG tool icons to use currentColor for compatibility
- Adds toggle_theme translations for all 21 languages
- Includes smooth CSS transitions (excludes canvas for performance)
- Improves accessibility with ARIA attributes and focus indicators
- Ensures WCAG AA color contrast compliance
Closes lovasoa#219
@lovasoa
Copy link
Owner

lovasoa commented Feb 7, 2026

I think the thing that is hard when implementing a dark theme for a whiteboard is to ensure the contrast and accessibility of the contents inside the whiteboard. Something drawn in black would become invisible.

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.

Dark theme / dark reader support

2 participants