Skip to content

Add Dark Mode Feature#5

Open
plasma-ai[bot] wants to merge 1 commit intomainfrom
Plasma/original-request-hi-add-dark-mode-hello-hvgdiopw-l-d65b
Open

Add Dark Mode Feature#5
plasma-ai[bot] wants to merge 1 commit intomainfrom
Plasma/original-request-hi-add-dark-mode-hello-hvgdiopw-l-d65b

Conversation

@plasma-ai
Copy link

@plasma-ai plasma-ai bot commented Dec 30, 2025

Summary

  • Implemented full dark mode functionality with theme toggle button
  • Added CSS custom properties for both light and dark themes
  • Created theme toggle button with animated sun/moon icons
  • Implemented localStorage persistence to remember user preferences
  • Added system preference detection using prefers-color-scheme
  • Theme syncs across all pages (index and team)

Changes Made

  • Updated both index.html and team/index.html with theme support
  • Replaced hardcoded colors with CSS variables
  • Added theme toggle button (fixed position, top-right corner)
  • JavaScript theme management with localStorage and system preference detection
  • Smooth transitions between light and dark modes

Features

  • Toggle button appears on all pages
  • Theme preference persists across sessions
  • Respects system dark/light mode preference on first visit
  • Smooth animations and transitions
  • Consistent styling across both themes

Test Plan

  • Toggle between light and dark modes on index page
  • Toggle between light and dark modes on team page
  • Verify theme persists after page refresh
  • Verify theme syncs across different pages
  • Test responsive design in both themes
  • Verify system preference detection works

- Implement CSS custom properties for light/dark themes
- Add theme toggle button with sun/moon icons
- Include localStorage persistence for theme preference
- Add system preference detection (prefers-color-scheme)
- Update all styling to use CSS variables
- Apply dark mode to both index and team pages
- Theme syncs across pages via localStorage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants