Skip to content

Add theme support and mode switcher component#28

Merged
BunsDev merged 1 commit into
mainfrom
okcode/theme-modes-toggle
Mar 27, 2026
Merged

Add theme support and mode switcher component#28
BunsDev merged 1 commit into
mainfrom
okcode/theme-modes-toggle

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Mar 27, 2026

  • Introduced a new themes.css file containing multiple color themes with light and dark variants.
  • Updated index.css to import the new themes.
  • Created a ThemeModeSwitcher component to allow users to switch between light, dark, and system themes.
  • Enhanced useTheme hook to manage color themes and persist user preferences in localStorage.

What Changed

Why

UI Changes

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

- Introduced a new `themes.css` file containing multiple color themes with light and dark variants.
- Updated `index.css` to import the new themes.
- Created a `ThemeModeSwitcher` component to allow users to switch between light, dark, and system themes.
- Enhanced `useTheme` hook to manage color themes and persist user preferences in localStorage.
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Mar 27, 2026 11:09pm

@BunsDev BunsDev merged commit fb6075d into main Mar 27, 2026
6 of 7 checks passed
@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 27, 2026
@BunsDev BunsDev deleted the okcode/theme-modes-toggle branch March 28, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant