Skip to content
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

Update Tailwind dark mode setting from 'class' to 'selector' #7275

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

Conversation

iwmywn
Copy link

@iwmywn iwmywn commented Nov 3, 2024

reopen

Copy link

vercel bot commented Nov 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
19-react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 3, 2024 0:00am
react-dev ✅ Ready (Inspect) Visit Preview Nov 3, 2024 0:00am

Copy link

github-actions bot commented Nov 3, 2024

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@@ -11,7 +11,7 @@ module.exports = {
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/styles/**/*.{js,ts,jsx,tsx}',
],
darkMode: 'class',
darkMode: 'selector',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see that class was replaced with selector from tailwind 3.4.1 but do we see any bugs / deviations? We were using class option in darkMode for these many days?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants