This has been easy to follow and made integration easier, unless I didn’t read the docs correctly to get it to work, the example you provided with hooks definitely helped.
but there is problem , when i switched dark mode from light and later on if do refresh it will go back to light mode again , how can resolve this problem
Can you guys tell me one thing I have an image in my head.js folder and I have a particular Darkmode component that has a theme state and thus what i want is that in my head.js folder I want to change my logo to a white one whenever my theme state changes to dark
This button will actually trigger all the dark elements with className: “dark:” you have to within the site. I think the other approach would be to add it app/index.css file and use @apply if you want it all over the site.
but there is problem , when i switched dark mode from light and later on if do refresh it will go back to light mode again , how can resolve this problem
That was super easy and straightforward. Thank you!
Awesome guide, after searching around this is the best one I found. Simple and efective!
Its's a very easy and effective way to toggle dark/light theme with an exceptional explanation. 🎉😊
This has been easy to follow and made integration easier, unless I didn’t read the docs correctly to get it to work, the example you provided with hooks definitely helped.
Valuable content like this will help us both to grow.
Most concise and good tutorial about dark mode.
Thanks buddy😊, your tutorial came through when i needed it
hi man, thank you it short, simple, and most importantly, works!
Most simplified video you'll find on RUclips on 'Dark mode in Tailwind, react'
This was exactly what I needed! Thank you for this video! 😊
Thanks for the guide.
Thank you sooo much.. so short and simple
it works! thanks a bunch!!!
Clear Explaination , Thank You :)
great video! thank you!
nice explaination , easy to understand , thanks
Good Video
damn this was helpful. thanks!
Thanks a lot for helping me out!
I’m glad that it helped!
thank you thank you thank you for this
Thank you very much!
Beautiful
Thank you so much
thanks mate
but there is problem , when i switched dark mode from light and later on if do refresh it will go back to light mode again , how can resolve this problem
use setLocalStroage() to store the preivous theme value in browser local storage.
Save current theme in localStorage
Awesome tutorial +++++++++++++++++ 🙂
how can I add a transition to the theme switch
Awesome
it's best one i hope. And also need use toggle icon in this dark mode. please help me
Can you guys tell me one thing I have an image in my head.js folder and I have a particular Darkmode component that has a theme state and thus what i want is that in my head.js folder I want to change my logo to a white one whenever my theme state changes to dark
This doesnt work for me and the code is not doing anything
Good,
But its too hard to apply the dark theme on each element in the app,
Its should be more reusable way to do that ..
This button will actually trigger all the dark elements with className: “dark:” you have to within the site.
I think the other approach would be to add it app/index.css file and use @apply if you want it all over the site.
Will it toggle the class in all the components ??
Yes, entire website.
How to i get this type of terminal that you use?
I'm using an app called Hyper JS from - hyper.is/ and there are many tutorials on how you could set it up with the color and fonts the way you want.
if even if I went step by step it doesn't work
what ide is that?
VSCode with Material Theme!
background music is irritating
When refresh the page the darkmode will be gone. Not a great video for the production.
just store it in local storage
but there is problem , when i switched dark mode from light and later on if do refresh it will go back to light mode again , how can resolve this problem
Did you find solution I think storing theme dark or light on localstorage fix this 😊