Enhancement: Add support for system dark mode via prefers-color-scheme or manual theme toggle
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 1.5k
- Forks
- 152
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Many users (including myself) prefer or require dark mode for reduced eye strain, especially during late-night coding/browsing. Modern browsers support the prefers-color-scheme media query, and popular sites (GitHub, Stack Overflow, Twitter/X, etc.) automatically adapt to the user's system preference (light/dark).
Currently, Algora.io appears to use a fixed light theme:
- No visible dark mode toggle in the UI (header, footer, profile pages, bounty boards, etc.).
- The site does not seem to respect
prefers-color-scheme: dark— elements stay in light mode even when the OS/browser is set to dark.
This leads to inconsistent experience when users switch system themes.
Describe the solution you'd like
Implement automatic dark mode support by:
- Using Tailwind CSS
dark:variants (if already using Tailwind) or CSS custom properties/variables with@media (prefers-color-scheme: dark)queries. - Adding a manual theme toggle (sun/moon icon) in the header or settings for users who want to override system preference.
- Ensuring all elements adapt properly: backgrounds, text colors, cards, borders, syntax highlighting (if any), charts (e.g., punchcard), buttons, modals, etc.
Happy to help test or submit a PR if it sounds good? @zcesur
Thanks for building a great OSS bounty platform!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Tailwind CSS setup and the shared header or settings entry point mentioned in the issue, then identify how the listed UI surfaces currently receive colors. Verify the system preference and manual toggle across backgrounds, text, cards, borders, charts, buttons, modals, and syntax highlighting; done means the interface consistently supports light and dark themes with an override.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir, tailwindcss
- Domain
- accessibility, design, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100