Home > front end >  Is there shortcut key for toggle between dark/light mode in chrome?
Is there shortcut key for toggle between dark/light mode in chrome?

Time:07-25

Is there shortcut key for toggle between dark/light mode in chrome?

Switch between @media (prefers-color-scheme: dark/light)

CodePudding user response:

There isn't a keyboard shortcut, but a toggle in the Styles pane of the Elements tab is the closest you can get to quickly switch between a light/dark mode.

  1. Open devtools > Inside the "Styles" pane, right next to the " " button, click the Icon "Toggle common rendering emulations".
  2. Choose the prefers-color-scheme option to emulate the corresponding color scheme.

More info: enter image description here

CodePudding user response:

Press “Win I” keys to Windows Settings app and then navigate to “Personalization” section. Go to “Colors” section and select “Dark” option for “Choose your default app mode”.

  • Related