DEV Community

Discussion on: Create A Dark/Light Mode Switch with CSS Variables

Collapse
 
ben profile image
Ben Halpern

Just how we do it with dev.to!

CSS variables are awesome.

Collapse
 
zonayedpca profile image
Zonayed Ahmed

Where is bro? Just tell me where is it? I didn't know about it...

Collapse
 
ananyaneogi profile image
Ananya Neogi

Love the dark mode on dev.to! πŸ™‚

Collapse
 
gevv profile image
gevv

@Ananya Neogi

Hi,

Dark mode does not not work link open new window (target="_blank" links)

is there a solution?

Thanks
Best regards

Collapse
 
mittalyashu profile image
Yashu Mittal

Wait, what! There is dark theme for dev.to, nobody told me about that. πŸ˜‚

Collapse
 
ben profile image
Ben Halpern

Dark mode is new, and it's fabulous (with a few kinks that still need to be worked out).

Thread Thread
 
mittalyashu profile image
Yashu Mittal

Oh! I see. How can I enable dark mode?

Thread Thread
 
ananyaneogi profile image
Ananya Neogi

Settings ➑ Misc. On that page you'll find it under "Style Customization"

Thread Thread
 
mittalyashu profile image
Yashu Mittal

Awesome, thanks. Looks cool.

Dark mode for dev.to