-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
category: docsDocumentation changesDocumentation changes
Description
Describe the feature
- I would like to add a Dark Mode toggle to the Marked.js documentation website (https://marked.js.org/).
- This feature will allow users to switch between light and dark themes, or automatically match their system’s preferred color scheme. The dark mode will enhance readability and provide a modern, visually comfortable experience for users browsing in low-light environments.
Why is this feature necessary?
- Many users prefer dark mode for accessibility and eye comfort, especially during extended reading or coding sessions.
- It aligns with current web standards, as most modern documentation and developer tools offer dark mode options.
- It improves user experience, visual consistency, and accessibility on the Marked.js site.
- Helps reduce eye strain and provides a professional aesthetic, especially for developers working in dark IDEs.
Describe alternatives you've considered
- Using only the prefers-color-scheme CSS media query for automatic dark mode detection (without a toggle).
- Creating a separate dark theme version of the site hosted under a different subpath or build target (less user-friendly).
- Adding a browser extension or external script for dark mode, but this approach is inconsistent and not native to the site.
Metadata
Metadata
Assignees
Labels
category: docsDocumentation changesDocumentation changes