-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
✨ Overview
The documentation site would benefit from a theme toggler (Light/Dark mode) to enhance user experience and give the interface a more polished and modern appearance.
🎯 Why
- Easier reading experience in low-light environments
- Reduces eye strain for users browsing at night
- Aligns with modern documentation standards
- Adds a professional and visually balanced UI
💡 Proposed Solution
- Add a visible toggle (sun/moon icon or switch) in the top-right corner of the docs.
- Support Light, Dark, and optionally System (auto) modes.
- Save user preference using local storage.
- Use CSS variables or a theming system for dynamic color switching.
- Ensure code blocks, links, and all UI components stay readable across both themes.
- Add a smooth transition effect when switching themes for a refined, polished look.
🧩 Technical Suggestions
- Detect system preference with
prefers-color-scheme. - Apply a
.darkclass to the root or body element to toggle themes. - Maintain accessibility standards (contrast ratio, focus outlines, etc.).
✅ Expected Outcome
A modern, user-friendly documentation interface with seamless theme switching that improves accessibility, comfort, and overall design consistency.
Metadata
Metadata
Assignees
Labels
No labels