The Best Way to Handle Dark Mode with TailwindCSS

  Рет қаралды 40,706

Tom Is Loading

Tom Is Loading

Күн бұрын

Пікірлер: 47
@Alipakdamanyt
@Alipakdamanyt Жыл бұрын
got a headache watching videos on this topic for hours understanding nothing, very clear and straight to the point🔥
@BooksWeCanRead
@BooksWeCanRead Жыл бұрын
Very very cool!! I love how you explain things! No faff just straight to exactly what’s needed! 👏👏✨
@digitalsahara6670
@digitalsahara6670 Жыл бұрын
wow that is explained so well and straight to the point, hoping you have a full on course coming out soon ...
@tomisloading
@tomisloading Жыл бұрын
I will absolutely do a full length tailwind vid soon :)
@rog0079
@rog0079 Жыл бұрын
so useful stuff in such a short video
@tomisloading
@tomisloading Жыл бұрын
Thank you!! :D
@piotrdarnowski5190
@piotrdarnowski5190 2 ай бұрын
Awesome videos and components pack, thanks for all the great content!
@xiaodhruv7693
@xiaodhruv7693 Жыл бұрын
Wow never thought this would be this easy TT, thankyou very much
@mohamedyamani8502
@mohamedyamani8502 Жыл бұрын
Pretty cool man! Great video.
@tomisloading
@tomisloading Жыл бұрын
Thank you!! 😁
@ricardocnn
@ricardocnn Жыл бұрын
Awesome approach!
@hiddenworld8280
@hiddenworld8280 20 күн бұрын
Life saver bro. Thanks for that
@ohskynyrdlynyrd
@ohskynyrdlynyrd 7 ай бұрын
This is the best video on topic. I'm using next js so I'll try to do the same but to use cookies instead of local storage
@redders6600
@redders6600 Жыл бұрын
This is the easy bit...! The challenge is getting colour palettes that work well together and using the right colours in the right places... It gets _really_ confusing!
@tomisloading
@tomisloading Жыл бұрын
Funny enough, I’m building a free tool to help with this literally right now 😂😂 there’s a few good ones (Real Time Colors by Juxtopposed is awesome) but I’m building something a bit simpler and more developer focused 😁
@monisankarnath
@monisankarnath 6 ай бұрын
​@@tomisloadinggreat man share with us
@francescoanastasio2021
@francescoanastasio2021 5 ай бұрын
For those with access to Tailwind UI components, you can simply use the colors from the prebuilt components for both light and dark modes, and then proceed with the tutorial. This is particularly helpful for those who correctly point out that selecting the right colors can be the most challenging part. Here's another useful tip: if you have a specific color in light mode, such as `bg-gray-800`, there's a good chance that `bg-gray-200` works well in dark mode. Essentially, the formula is: dark_color = light_color - 800, and vice versa. Unless you have a much more custom palette, of course.
@Thechanterramarie
@Thechanterramarie 2 ай бұрын
@@francescoanastasio2021thank you for this! 🙌
@balogunakanbi6329
@balogunakanbi6329 21 күн бұрын
is that not something your designer should handle for you?
@bassam.2023
@bassam.2023 6 ай бұрын
Very useful. Thanks! 🎉
@excellend_boy
@excellend_boy 2 ай бұрын
thank you 🤩
@joshuaheathcote2116
@joshuaheathcote2116 11 ай бұрын
Thank you Tom
@DMZT_dhruv
@DMZT_dhruv Жыл бұрын
I watched this video long ago, I though I saw this in instagram 😅, but I finally founded here hehe
@madie2659
@madie2659 Жыл бұрын
Loved it thanks
@tomisloading
@tomisloading Жыл бұрын
Happy i can help! :)
@sofyanox12
@sofyanox12 7 ай бұрын
the only problem with this is that we can't see the small previewed colour in the class name
@yaronp16
@yaronp16 Жыл бұрын
thanks you helped a lot!
@tomisloading
@tomisloading Жыл бұрын
Happy I could help :)
@quentinjames981
@quentinjames981 2 ай бұрын
Thanks for this great video, super helpful! One question - around 2:15, is there a reason why you defined background as rgba(var(--background))? It seems a bit redundant to me, unless I'm missing something.
@whyyshivam
@whyyshivam 9 ай бұрын
So Good, that I wanna recreate this 🤧
@feelsthevibes1662
@feelsthevibes1662 Жыл бұрын
if u use this primary: 'rgba(var(--color-primary), )', than opacity will work
@NitinKumar-jc7bg
@NitinKumar-jc7bg Жыл бұрын
How to get the rgba numbers for dark theme and light theme like you have is there any website ? By the way awesome video ❤👌
@tomisloading
@tomisloading Жыл бұрын
So for this video, I just grabbed some colors from the tailwind site :) There's a bunch of different color generators out there, and I'm actually building my own right now haha. If you check back in a week or so on my site you should see that :)
@sravanstg234
@sravanstg234 2 ай бұрын
Can you please tell which vs code theme you are using?
@tomisloading
@tomisloading 2 ай бұрын
Andromeda!
@sravanstg234
@sravanstg234 2 ай бұрын
@tomisloading thanks
@raybelmo
@raybelmo 10 ай бұрын
Cool!
@FelipeOcampo-v4i
@FelipeOcampo-v4i 8 ай бұрын
You're a fucking legend.
@tomisloading
@tomisloading 8 ай бұрын
😎
@isaacgarcia2745
@isaacgarcia2745 2 ай бұрын
What is the website he is at the beginning when switching themes
@TheFreeDuck
@TheFreeDuck Күн бұрын
github
@amirreza3638
@amirreza3638 Жыл бұрын
What about colors with intensity? Like blue-400 ?
@randomchannelqwert
@randomchannelqwert 5 ай бұрын
thanks
@Ancode2
@Ancode2 9 ай бұрын
How simple and useful. Thank you very much for this
@СергейКр-щ4с
@СергейКр-щ4с 6 ай бұрын
I pressed like 11 times
@LulsegedAdmasu
@LulsegedAdmasu 10 ай бұрын
wow
@the_protaku
@the_protaku Ай бұрын
Your are a life savior 🥹🤩🥰
8 TailwindCSS Classes I Wish I Found Earlier
4:48
Tom Is Loading
Рет қаралды 79 М.
You’re doing dark mode wrong!
7:54
Coding in Public
Рет қаралды 56 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Dark mode with TailwindCSS in under 7 minutes
6:58
Built With Code
Рет қаралды 47 М.
5 TypeScript Tips You’ll Actually Use
4:47
Tom Is Loading
Рет қаралды 11 М.
Next.js Dark Mode with No Flicker + Tailwind CSS
9:43
Dave Gray
Рет қаралды 46 М.
How the PROS Use Tailwind
9:55
Frontend FYI – by Jeroen
Рет қаралды 60 М.
Light / Dark Mode Toggle In React Tutorial
16:02
PedroTech
Рет қаралды 102 М.
Translating a Custom Design System to Tailwind CSS
10:10
Tailwind Labs
Рет қаралды 128 М.
5 MORE TailwindCSS Tips I Wish I Learned Earlier
5:32
Tom Is Loading
Рет қаралды 14 М.
Watching Tailwind Tutorials Is A Waste Of Time
7:56
Web Dev Simplified
Рет қаралды 265 М.