Skip to content

feat: add dark mode toggle to repository dashboard - #39

Closed
AliMahmoudDev wants to merge 1 commit into
voidswift:mainfrom
AliMahmoudDev:feat/dark-mode-toggle
Closed

AliMahmoudDev wants to merge 1 commit into
voidswift:mainfrom
AliMahmoudDev:feat/dark-mode-toggle

Conversation

@AliMahmoudDev

Copy link
Copy Markdown
Contributor

Summary

Adds dark mode toggle to the repository dashboard with system preference detection.

Changes

  • New ThemeToggle component with 3 modes: Light, Dark, System
  • CSS custom properties for card backgrounds, borders, text colors in both themes
  • Updated dashboard layout to use CSS variables for theming
  • Defaults to system prefers-color-scheme preference
  • Persists user choice in localStorage
  • Smooth CSS transition between themes
  • Adds .dark class to <html> for Tailwind dark mode support

Closes #36

Add light/dark/system theme toggle with CSS custom properties for theming.
Defaults to system preference, persists choice in localStorage, and
applies .dark class for Tailwind CSS dark mode.

- New ThemeToggle component with 3 modes (light/dark/system)
- CSS custom properties for card backgrounds, borders, text colors
- Updated dashboard layout to use CSS variables for theming
- Smooth transition between themes
- Respects prefers-color-scheme media query

Closes voidswift#36
@github-actions

Copy link
Copy Markdown

This PR has been inactive for 4 days. @maintainer @contributor please review or push updates, otherwise it will be closed in 2 days.

@github-actions github-actions Bot added the stale label Sep 14, 2026
@github-actions

Copy link
Copy Markdown

This PR was closed due to inactivity.

@github-actions github-actions Bot closed this Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add dark mode toggle to repository dashboard

1 participant