A Material Design-inspired userChrome.css theme for Firefox
Inspired by Google's Material Design and their latest Google Chrome UI, this theme turns your Firefox into a Material-styled web browser. The aim was to style the browser as closely as possible to the latest Google Chrome dev builds, where practical.
This is a userChrome.css theme, which means you must manually add it to your Firefox profile. The theme overrides certain browser styles. Currently, only the UI at the top of the browser is affected. Other elements of the UI may be styled later.
Some steps involve accessing the about:config page. You can get there by typing it into your urlbar.
- Copy the chrome folder into your Firefox profile directory. To find your profile directory, go to about:support. Alternatively, you can symlink your chrome folder instead of copying.
- [about:config] Set
svg.context-properties.content.enabled
totrue
(default isfalse
). - Restart Firefox.
Replicate Chrome's light color scheme:
- Right click on toolbar -> Customize.
- Click Themes.
- Select Light theme.
Add space above tab bar:
- Right click on toolbar -> Customize.
- Check Drag Space checkbox.
Replicate Chrome behaviour for clipped tabs:
- [about:config] Set
browser.tabs.tabClipWidth
to83
(default is144
).
Replicate Chrome identity colours (or lack thereof):
- [about:config] Add new entry
materialFox.disableIdentityColors
with valuetrue
. - Restart Firefox.
- Linux is not frequently tested; last tested on 07/09/2018.
- Users may experience oversized titlebar buttons on Windows.
- Some customisation settings may no longer work (compact density, some custom themes).