Skip to content

Add dark mode support and theme toggle #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

simonrueba
Copy link

This commit introduces full dark mode support by integrating the next-themes library, providing a user-accessible theme toggle, and updating UI components and styles to respond to light, dark, and system preferences.

  • Wrap the application in ThemeProvider (next-themes) with system preference enabled
  • Create a ThemeToggle component using Radix DropdownMenu for selecting Light, Dark, or System themes
  • Install and configure the next-themes dependency in package.json
  • Update global CSS to apply dark mode colors via Tailwind’s dark: variants
  • Adjust Tailwind config to use class-based dark mode (darkMode: "class")
  • Add dark-specific styling to EncoderSelect, TokenViewer, and index.tsx components

Copy link

vercel bot commented Apr 24, 2025

@simonrueba is attempting to deploy a commit to the dqbd Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant