-
Notifications
You must be signed in to change notification settings - Fork 107
Feature request: dark mode / prefers-color-scheme support #14
Copy link
Copy link
Open
Description
Feature Request
The editor currently has no dark mode support. The document body uses hardcoded light theme values (--bg-color: white, --text-color: #111) with no prefers-color-scheme: dark media query.
Current state:
- One theme variant exists (
data-theme="whitey") but both are light - Many colours are hardcoded rather than using CSS variables, making a dark mode theme harder to implement
- The toolbar/chrome UI is already dark, so there's a visual mismatch on the editor body
Proposed approach:
- Extract remaining hardcoded colours to CSS variables
- Add
@media (prefers-color-scheme: dark)overrides for all variables - Optionally expose a
data-theme="dark"class for manual toggle
Happy to contribute a PR if this aligns with your roadmap.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels