Creating a Dark & Light Toggle Mode on your UI Designs

Creating a Dark & Light Toggle Mode on your UI Designs

DesignCourse

5 лет назад

113,801 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@DesignCourse
@DesignCourse - 02.04.2019 19:07

Do you give your users the option to switch between light and dark? Let us know!

Ответить
@siadetx7552
@siadetx7552 - 11.08.2022 04:56

what aboout photos ?

Ответить
@jssecrets
@jssecrets - 09.03.2022 08:47

Thanks man ✌✌🙂🙂

Ответить
@nielslytzdk
@nielslytzdk - 17.10.2021 14:45

Nice! Quick question: How do you remove that stretchy/wobble-effect on the switch when toggling? I just want it to stay round..

Ответить
@GuitarGuy366
@GuitarGuy366 - 23.09.2021 05:25

Would this be possible to do this based on the url with angular universal server side? 🤔

Ответить
@sadafmirzad3023
@sadafmirzad3023 - 09.09.2021 11:03

well nice video but the problem is: what happens if i refresh the page? bah it changes back to white so think about instagram nomatter how many times we refresh it never changes !! need that trick 😣

Ответить
@situwinnie6997
@situwinnie6997 - 18.08.2021 13:08

This is really great, I wish you could have a course on changing themes colors using color picker

Ответить
@RadjiMubarakElMobizy
@RadjiMubarakElMobizy - 07.07.2021 23:05

Yes I will

Ответить
@igdev6095
@igdev6095 - 09.05.2021 17:51

How to convert var(--white-color) to SCSS?

Ответить
@confusedGuenni
@confusedGuenni - 22.03.2021 21:49

There is lorem ipsum- Extension? o.O Good to know! Thanks for the tutorial, really good work.

Ответить
@niteshkhatri88
@niteshkhatri88 - 17.03.2021 18:34

I really want to know how to do add linear gradient background in dark theme in css file?

Ответить
@AlbertusBernardus
@AlbertusBernardus - 16.03.2021 23:39

I won't use it for all my projects but it's something cool to use where it is applicable.

Ответить
@saulotarsobc
@saulotarsobc - 15.03.2021 05:03

Amazing

Ответить
@declanmahon1969
@declanmahon1969 - 11.03.2021 01:16

Brilliant! In answer to your question, yes I will be providing a light and dark mode on website, I actually want a 3 position toggle slide bar, 1 for colour mode as well...!

Ответить
@plexor-dev
@plexor-dev - 28.02.2021 07:40

Hey! i visit a page and change to dark mode when my phone was in low battery.
That was so cool, thanks for the video.

Ответить
@ghazalafazal4370
@ghazalafazal4370 - 22.02.2021 07:44

Hey ! DesignCourse i know basics of html css but want to be expert in it can you give paid classes for that? I am from Pakistan and very much inspired by your work so can I learn these skills from you. Please regard my comment

Ответить
@furcom
@furcom - 07.02.2021 02:28

how to keep dark mode in local storage of the browser? it resets back to light mode after refreshing the page and the checkbox stays checked :/
I'm an absolute html beginner

Ответить
@jonathanhammond5563
@jonathanhammond5563 - 30.12.2020 04:36

I want to save this and incorporate it into my Websites from now on.

Ответить
@williamchisholm2032
@williamchisholm2032 - 11.12.2020 17:38

Very cool! Can't wait to apply this to some projects

Ответить
@victorgiovannibeltranrodri1047
@victorgiovannibeltranrodri1047 - 05.11.2020 22:03

How would you add Localstorage to this effect?

Ответить
@mdmohiuddin3141
@mdmohiuddin3141 - 31.10.2020 13:04

after page refresh it will again turn into light theme by default.

Ответить
@rodolfosilva8815
@rodolfosilva8815 - 29.10.2020 05:24

Show!!!!...

Ответить
@CalvinBonner
@CalvinBonner - 14.10.2020 17:19

I guess the biggest question I have after watching this is, when using this method to give your user the choice to toggle, is there a good way to still have the default theme for your layout be the system default? Right now all of my sites default to the users system (light/dark theme) but I'd love to be able to give them the option to toggle as well.

Ответить
@waynemotivation5981
@waynemotivation5981 - 14.10.2020 02:57

if i do it without importing it and modifying it is illegal?

Ответить
@amolbharambe8827
@amolbharambe8827 - 04.09.2020 21:24

Is this browser compatible ?

Ответить
@serhataliaksay6378
@serhataliaksay6378 - 16.08.2020 12:30

Teşekkür ederim dostum 😀

Ответить
@captainmujheri
@captainmujheri - 08.08.2020 20:05

Sir, you are brilliant

Ответить
@godmode7128
@godmode7128 - 04.08.2020 20:31

What about create this variables into a mixin? is that a bad practice?

Ответить
@Xiaoxooooo
@Xiaoxooooo - 19.07.2020 14:20

Thank you for this great tutorial master

Ответить
@zweitlander874
@zweitlander874 - 18.07.2020 17:54

Can I make a dark-mode switch without any JavaScript?

Ответить
@jameskulu
@jameskulu - 11.07.2020 21:27

how to add this dark mode in a local storage?

Ответить
@subramanyam.d24m56
@subramanyam.d24m56 - 07.07.2020 14:29

Really colourful

Ответить
@soldadopreciso
@soldadopreciso - 06.07.2020 23:11

hello pal, how we can clone the new light Facebook theme, principally in buttons, links, hover , thanks.

Ответить
@paulbraam7473
@paulbraam7473 - 05.06.2020 22:56

The script doesn't work for pseudo-elements

Ответить
@deepjyotibaishya7576
@deepjyotibaishya7576 - 23.05.2020 19:09

Now how to use cache and used them to enabled dark mode . after reload browser

Ответить
@wisungyo
@wisungyo - 26.04.2020 02:48

thank you for making this tutorial. really helps me...

Ответить
@jayrajshah7002
@jayrajshah7002 - 05.04.2020 21:21

Hey man,
Awesome Tutorial
One question : When I reload the page of go to another, the theme changes back to white again.
Any solution ?

Ответить
@gabeadams2926
@gabeadams2926 - 05.04.2020 20:56

Awesome!

Ответить
@elissitdesign
@elissitdesign - 05.04.2020 09:01

For bigger sites with many variables would you load another SCSS page? Like light.css and dark.css?

Ответить
@philipperocha2058
@philipperocha2058 - 04.04.2020 06:17

Great video!! Simple and easy to understand!!!

Usually people are not straight forward!!! Many stupid tutorials out there with many unnecessary things!

Ответить
@pavel9852
@pavel9852 - 01.04.2020 02:10

I wrote the exact same thing and it didn't work. Just a normal day...

Ответить
@RektOrNah
@RektOrNah - 03.03.2020 05:58

So, why did you use var checkbox and then let further down for a seperate declaration?? or is it just habit?

Ответить
@jekigates1207
@jekigates1207 - 16.02.2020 22:28

Sir, i want to make a website where user can change it like what they like. If they change the theme to blue color, the other pages will automaticly change to blue color. How can i do that?

Ответить