I installed theme for Developers Tools and want also make my 'view-source' is dark too.
Download and add a Chrome themeOn your computer, open Chrome. Settings. Under "Appearance," click Themes. You can also go to the gallery by visiting Chrome Web Store Themes.
Green Eye Green Eye is a simple and efficient Google Chrome extension that keeps your eyes healthy by changing the background and foreground colors of web pages. It comes with three preset themes, but you can personalize it even more by choosing the text, background, and border color.
Once the developers tools are shown, go to the top corner of the menu (on the expand button) and choose settings (or press F1 directly if the developers tools is visible). Then choose the Theme option in the Appearance area. Finally, enjoy while you code in the night !
To find it, type “chrome://flags” into Chrome's Omnibox and press Enter. Search for “dark mode” in the search box at the top of the Experiments page that appears. Click the box to the right of “Auto Dark Mode for Web Contents” and select “Enabled” for the default setting. Click “Relaunch” to relaunch Chrome.
Create bookmark with code below:
javascript:(function(){ var h=document.getElementsByTagName('head')[0],s=document.createElement('style');s.setAttribute('type','text/css'); s.appendChild(document.createTextNode('html{-webkit-filter:invert(100%) hue-rotate(180deg) contrast(70%) !important; background: #fff;} .line-content {background-color: #fefefe;}'));h.appendChild(s); })()
And click on this bookmark on any page you want to be dark
The only real way to do this is I found is the #enable-force-dark
experimental flag. The downside is that it sets a dark theme on every single page you browser like Dark Reader or Deluminate.
#enable-force-dark
experimental flag at chrome://flags/#enable-force-dark
. Screenshot
view-source
pages are automatically dark.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With