Tailwind CSS Dark Mode | React App Theme Switcher

  Рет қаралды 46,690

Over Clocked

Over Clocked

Күн бұрын

In this short video, I'll show you how to use Tailwind CSS Dark Mode to improve the look and feel of your React app. We'll also discuss how to use Tailwind's Theme Switcher to change the theme of your app with just a few clicks!
Tailwind is a powerful CSS framework that includes Dark Mode support. This video will show you how to use Tailwind's Dark Mode to improve the look and feel of your React app. We'll also discuss how to use Tailwind's Theme Switcher to change the theme of your app with just a few clicks!
-----------------------------------------------------------------------------------------------------
This video will also explain to you how you can set it up to check for the browser's default preferred scheme and apply the color according to the settings.
💻 GitHub for this project - github.com/Azm...
-----------------------------------------------------------------------------------------------------
Music Credits :
Song: Fredji - Happy Life (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link: • Fredji - Happy Life (V...

Пікірлер: 49
@smartstar4131
@smartstar4131 5 ай бұрын
That was super easy and straightforward. Thank you!
@Rapunzel-mo9ur
@Rapunzel-mo9ur 10 ай бұрын
Its's a very easy and effective way to toggle dark/light theme with an exceptional explanation. 🎉😊
@NorgeSantana
@NorgeSantana Жыл бұрын
Awesome guide, after searching around this is the best one I found. Simple and efective!
@rayhanalkavey1820
@rayhanalkavey1820 2 жыл бұрын
Valuable content like this will help us both to grow.
@felistusmbesa4053
@felistusmbesa4053 Жыл бұрын
Thanks buddy😊, your tutorial came through when i needed it
@RichReflectionz
@RichReflectionz Жыл бұрын
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.
@RadoslavRobert
@RadoslavRobert Жыл бұрын
Most concise and good tutorial about dark mode.
@muonyeluchinedu5454
@muonyeluchinedu5454 4 ай бұрын
Thanks for the guide.
@anangyoga1381
@anangyoga1381 Жыл бұрын
hi man, thank you it short, simple, and most importantly, works!
@vibhourrr
@vibhourrr Жыл бұрын
Most simplified video you'll find on KZbin on 'Dark mode in Tailwind, react'
@ader1473
@ader1473 Жыл бұрын
Thank you sooo much.. so short and simple
@Vivi-Price
@Vivi-Price Жыл бұрын
This was exactly what I needed! Thank you for this video! 😊
@whatever.username
@whatever.username 11 ай бұрын
it works! thanks a bunch!!!
@afrinsadia152
@afrinsadia152 2 жыл бұрын
Clear Explaination , Thank You :)
@GDSKS
@GDSKS 2 жыл бұрын
Good Video
@ilyaivanteev172
@ilyaivanteev172 Жыл бұрын
Beautiful
@bayezidmostafa3364
@bayezidmostafa3364 2 жыл бұрын
Thanks a lot for helping me out!
@RealOverClocked
@RealOverClocked 2 жыл бұрын
I’m glad that it helped!
@christianmiguellicudanilov220
@christianmiguellicudanilov220 Жыл бұрын
thank you thank you thank you for this
@alisonoz7219
@alisonoz7219 Жыл бұрын
great video! thank you!
@hooho491
@hooho491 Жыл бұрын
Thank you so much
@anikaibnathaque5700
@anikaibnathaque5700 2 жыл бұрын
damn this was helpful. thanks!
@libertarianted2077
@libertarianted2077 Жыл бұрын
how can I add a transition to the theme switch
@vutran1160
@vutran1160 2 жыл бұрын
nice explaination , easy to understand , thanks
@camilobautista6468
@camilobautista6468 Жыл бұрын
Thank you very much!
@itsmoh4med
@itsmoh4med Жыл бұрын
thanks mate
@pupil_1
@pupil_1 Жыл бұрын
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
@Angalic666
@Angalic666 Жыл бұрын
use setLocalStroage() to store the preivous theme value in browser local storage.
@евгешааксентьев
@евгешааксентьев 11 ай бұрын
Save current theme in localStorage
@tribaldeni
@tribaldeni Жыл бұрын
Awesome
@nadeemsymun2196
@nadeemsymun2196 Жыл бұрын
it's best one i hope. And also need use toggle icon in this dark mode. please help me
@angshumanpathak2300
@angshumanpathak2300 Жыл бұрын
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
@mohamedyoussef8835
@mohamedyoussef8835 Жыл бұрын
Awesome tutorial +++++++++++++++++ 🙂
@usamamohiuddin7904
@usamamohiuddin7904 Жыл бұрын
This doesnt work for me and the code is not doing anything
@mohdsiddiqulhaque4486
@mohdsiddiqulhaque4486 Жыл бұрын
Will it toggle the class in all the components ??
@RealOverClocked
@RealOverClocked Жыл бұрын
Yes, entire website.
@techno_talis
@techno_talis Жыл бұрын
How to i get this type of terminal that you use?
@RealOverClocked
@RealOverClocked Жыл бұрын
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.
@nikolavaniscakova4367
@nikolavaniscakova4367 4 ай бұрын
if even if I went step by step it doesn't work
@GhanayemOmar
@GhanayemOmar Жыл бұрын
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 ..
@RealOverClocked
@RealOverClocked Жыл бұрын
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.
@S20N01
@S20N01 2 жыл бұрын
what ide is that?
@RealOverClocked
@RealOverClocked 2 жыл бұрын
VSCode with Material Theme!
@ShubhamChadokar-k7b
@ShubhamChadokar-k7b 6 ай бұрын
background music is irritating
@bestchoice7431
@bestchoice7431 7 ай бұрын
When refresh the page the darkmode will be gone. Not a great video for the production.
@flojd2232
@flojd2232 6 ай бұрын
just store it in local storage
@tanvirramim3647
@tanvirramim3647 Жыл бұрын
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
@ShamilKP-r2n
@ShamilKP-r2n 9 ай бұрын
Did you find solution I think storing theme dark or light on localstorage fix this 😊
Dark mode with TailwindCSS in under 7 minutes
6:58
Built With Code
Рет қаралды 44 М.
Build a dark mode light mode in reactjs with context api
29:20
Hitesh Choudhary
Рет қаралды 34 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
You’re doing dark mode wrong!
7:54
Coding in Public
Рет қаралды 55 М.
Starklings | Modules | Learn Cairo Interactively
15:43
Oluwatosin Serah
Рет қаралды 50
The Best Way to Handle Dark Mode with TailwindCSS
3:49
Tom Is Loading
Рет қаралды 34 М.
10 Tailwind Tricks You NEED To Know!
10:45
Ravi - Perfect Base
Рет қаралды 313 М.
Tailwind CSS | Dark & Light Theme Switcher
8:54
John Komarnicki
Рет қаралды 68 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.