IMPORTANT: Chromium decided to end support to custom stylesheets for the DevTools. As a result, this plugin is no longer working.
Material DevTools Collection
This is a porting of the famous Material Theme (https://www.material-theme.com) for Chrome DevTools. It completely redesigns the Chrome DevTools panels to the Material Theme Colors. And just like its inspiration, it also provides options to switch to other themes as well in the blink of an eye!
Features
Available Themes
- Material Oceanic
- Material Darker
- Material Lighter
- Material Palenight
- Material Deep Ocean
- Material Forest
- Material Sky Blue
- Material Sandy Beach
- Material Volcano
- Material Space
- Monokai Pro
- Dracula
- GitHub
- GitHub Dark
- Arc Dark
- Atom One Dark
- Atom One Light
- Night Owl
- Light Owl
- Solarized Dark
- Solarized Light
- Moonlight
- SynthWave '84
Other Features
- Custom Font Family
- Custom Font Size
- Accent Color
- Accent Scrollbars
Installation
- Open Developer Tools
- Open the Settings > Experiments > "Allow extensions to load custom stylesheets"
- Close and reopen the DevTools
Local development
- Clone the project
git clone https://github.com/mallowigi/material-dev-tools
- Install dependencies
- Start the server
-
Open the Chrome Extensions Management Page.
-
Select Load unpacked extension
-
Select the
build/chrome-mv3/devdirectory. -
Verify that the extension is loaded and that the icon show up in the Toolbar.
-
Run the styles compiler
Themes Management
If you want to add new themes or modify the existing themes:
-
Open the
public/themes.ymlfile -
Modify themes
-
Run
gulp themes
-
Reopen the settings to reload the colors
-
Reopen the devtools
Important files
/new/default.scss-> SCSS variables reading the CSS variables generated by Svelte/new/light.scss,/new/dark.scss-> the dark and light equivalents/src/utils/styleBuilder.ts-> file that generates the:rootCSS variables from thethemes.json/src/devtools.svelte-> generates the:rootinside the Devtools panelpublic/themes.yml-> Themes Manifest, will generatethemes.jsonused by the extension
Releasing
- Run
plasmo:zipto create the zip file
-
Bump the version in package.json
-
Upload the
.plasmo/xxx.zipfile to the Chrome Web Store
FAQ
I have installed the extension but nothing happened.
Make sure you've enabled the Chromium Experiment Allow extensions to load custom stylesheets, and reload the DevTools.
I selected the X theme but it looks ugly!
Please make sure you've selected the DARK or LIGHT theme in the DevTools settings, according to the selected theme.