Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Latest commit

 

History

History
61 lines (29 loc) · 2.64 KB

README.md

File metadata and controls

61 lines (29 loc) · 2.64 KB

All Night Chrome Devtools Theme

This is a dark theme designed to reduce eye fatigue and allow easy focusing whether you're developing all day or [all day and] all night.

It's based on the excellent Zero Base Themes, the README for which is maintained below. Follow those instructions (but clone this repo in step one) to get set up.

Step 4 is a bit unclear—the easiest way to install is to build open the extensions window and drag the "theme-extension" folder (that was built when you ran grunt) over it.


Notice

Experiments settings reset in 44.0.2403.89. Open developer tools settings ▶ Experiments ▶ [✔] Allow custom UI themes to enable theme again.

Zero Base Themes

An assortment of Chrome Devtools theme that use the Zero Base Template.

Contributing

Zero Base Themes is built on LESS. Grunt is used to listen for changes to LESS files and generates CSS. This means Node is required.

Getting Started

  1. Clone this repo: git clone https://github.com/mauricecruz/zero-base-themes.git.

  2. Install dependencies: npm install.

  3. To use an existing theme: grunt. (If you're going to work on your own theme: grunt watch to listen for changes).

  4. Chrome > Preferences... > Extensions > DevTools Theme: Zero Dark Matrix = Enabled (also enable Allow incognito below if you wish).

  5. chrome://flags (make sure Enable Developer Tools experiments is enabled).

  6. In Chome Dev Tools > Settings (cog icon or Shift+?) > Experiments > Allow custom UI themes.

  7. Sometimes it's required to close and reopen the dev tools.

Contributing to Template Source

All template files are located in the /less directory. Files beginning with an _ indicate template partials. They are imported via build.less. Any addition/removal of template partials should be reflected in the build file.

Changing Themes

Copy /themes/_theme-template.less and modify color values accordingly. Rename the file and save in the /themes directory. Specify the theme of your choice in config.less.

About Canary

As of Version v. 33.0.1726.0, themes only work via extensions and the developer tools experiments.

There is a thread detailing how this method came about.. Feel free to voice your opinions there.


Additional Resources

Blog post and screencast showing how to get up and running and create your own theme as well http://s10wen.com/blog/2014/03/12/chrome-dev-tools-theming-with-zero-base-themes/