-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Description
Hello! 👋
I've been using Good First Issue and I think it's a fantastic resource for newcomers to open source. However, I noticed that the website currently only supports a light theme. Many developers prefer dark mode for reduced eye strain, especially during extended browsing sessions.
Proposed Enhancement
Add a dark mode toggle feature that allows users to switch between light and dark themes. This would improve the user experience, especially for users who:
- Browse late at night or in low-light environments
- Have sensitivity to bright screens
- Simply prefer the aesthetics of dark mode
Benefits
- Improved accessibility: Better for users with light sensitivity
- Better UX: Follows modern web design practices
- User preference: Respects system-level dark mode preferences
- Reduced eye strain: Especially during extended browsing sessions
Implementation Suggestions
Since the project uses Nuxt.js with Tailwind CSS, this could be implemented using:
- Nuxt Color Mode module (
@nuxtjs/color-mode): Built-in support for dark mode in Nuxt 3 - Tailwind's dark mode utilities: Already configured in the project
- Local storage: To persist user preference across sessions
- System preference detection: Auto-detect user's OS theme preference
Proposed Implementation Steps
- Install and configure
@nuxtjs/color-modemodule - Update Tailwind config to enable dark mode (class strategy)
- Add dark mode variants to existing components
- Create a toggle component (moon/sun icon) in the navigation bar
- Ensure the selected theme persists in localStorage
- Test all pages and components in both modes
Additional Context
This would be a great enhancement that aligns with modern web standards and user expectations. Many similar developer-focused websites (GitHub, Stack Overflow, etc.) offer dark mode as a standard feature.
I'd be happy to work on this if you think it's a valuable addition! 🚀