IMPORTANT: Chromium decided to end support to custom stylesheets for the DevTools. As a result, this plugin is no longer working.
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!
- 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
- Custom Font Family
- Custom Font Size
- Accent Color
- Accent Scrollbars
- Open Developer Tools
- Open the Settings > Experiments > "Allow extensions to load custom stylesheets"
- Close and reopen the DevTools
- Clone the project
git clone https://github.com/mallowigi/material-dev-tools
- Install dependencies
npm install
- Start the server
npm run dev
-
Open the Chrome Extensions Management Page.
-
Select Load unpacked extension
-
Select the
build/chrome-mv3/dev
directory. -
Verify that the extension is loaded and that the icon show up in the Toolbar.
-
Run the styles compiler
npm run styles
If you want to add new themes or modify the existing themes:
-
Open the
public/themes.yml
file -
Modify themes
-
Run
gulp themes
npm run themes
-
Reopen the settings to reload the colors
-
Reopen the devtools
/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:root
CSS variables from thethemes.json
/src/devtools.svelte
-> generates the:root
inside the Devtools panelpublic/themes.yml
-> Themes Manifest, will generatethemes.json
used by the extension
- Run
plasmo:zip
to create the zip file
npm run plasmo:zip
-
Bump the version in package.json
-
Upload the
.plasmo/xxx.zip
file to the Chrome Web Store
Make sure you've enabled the Chromium Experiment Allow extensions to load custom stylesheets
, and reload the DevTools.
Please make sure you've selected the DARK
or LIGHT
theme in the DevTools settings, according to the selected theme.