How to emulate light or dark theme switch in chrome
Nowadays, every website comes with dark modes available in order to ease the reader's eyes.
Sometimes, we like to switch between these two while developing. Chrome comes with a varity of options in order to achieve the same.
- Open Developer tools by pressing
- Open the Command Control:
- Type Show rendering
- Set the Emulate CSS media feature prefers-color-scheme to either