DEV Community

Discussion on: Build a resume in the right way.

Collapse
 
ravirajsubramanian profile image
Raviraj Subramanian

Hi Ishan,

Good, I like Dark mode mostly. :)

There's a media query, "prefers-color-scheme" supported by most browsers. With its use, the website can obtain the global configurations from the browser and use the respective CSS styles for dark mode. It could not be more simple.

If you would like to do it without using this media query for some reason, there are some ways available. You can find these resources helpful and others on the internet to achieve the same experience.

  1. flaviocopes.com/dark-mode
  2. dev.to/jsgoose/adding-dark-mode-to...