Skip to content

feat: theme switch button#48

Open
EriqueRocha wants to merge 1 commit intoDiaum:developfrom
EriqueRocha:create-light-and-dark-theme-button
Open

feat: theme switch button#48
EriqueRocha wants to merge 1 commit intoDiaum:developfrom
EriqueRocha:create-light-and-dark-theme-button

Conversation

@EriqueRocha
Copy link
Contributor

@EriqueRocha EriqueRocha commented Oct 13, 2025

Changes

  • Enable dark mode in Tailwind
  • Install and configure next-themes
  • Toggle button

Use:

<div className="dark:bg-gray-900 bg-white"></div>

Where: white would be the default and bg-gray-900 would be dark mode

#14

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