DEV Community

Discussion on: I Created a Responsive Portfolio Website Using Pure HTML, CSS and JavaScript

 
chaoocharles profile image
Chaoo Charles
Thread Thread
 
thomasareinert profile image
Thomas A. Reinert

There's a media query to check if the user has chosen to use dark mode. And you should respect that choice designing your UI.

@media (prefers-color-scheme: dark) {
/* CSS Code when dark mode active */
}

As always with new features don't forget to check on caniuse.com for browser compatibility.

Thread Thread
 
chaoocharles profile image
Chaoo Charles

Wow, thank you for this!

Thread Thread
 
ponnex profile image
Emmanuel Francis Ramos Jr.

Check
medium.com/@katiemctigue/how-to-cr...

It is how Katie Mctigue implemented in her portfolio website in here: katiemctigue.com/

I'm also currently working on my portfolio website implementing the same idea
It's still in development but hey kindly check out: ponnex.dev