A modern glass-like theme for Firefox on macOS with dynamic light/dark mode support
- Automatic light/dark mode switching based on system preferences
- Glass-like transparency effects
- Native macOS appearance
- Transparent URL bar with opaque focus state
- Translucent sidebar and bookmarks
- Window state awareness (inactive window styling)
- Go to
about:supportin Firefox - Find the Profile Folder and click "Show in Finder"
- Open the
chromedirectory (create it if it doesn't exist) - Create a folder called
moz-mac - Download
userChrome.cssand save it to themoz-macfolder - Go back one directory and open/create
userChrome.css - Add this line at the beginning:
@import "moz-mac/userChrome.css";
- Open
about:configin Firefox - Set these preferences to
true:toolkit.legacyUserProfileCustomizations.stylesheetslayout.css.backdrop-filter.enabledgfx.webrender.all(optional)
- Restart Firefox
If you know how Firefox CSS works, you can customize the theme by adjusting the variables at the top of the CSS file:
--window-transparency: 0.0; /* Overall window transparency */
--toolbar-transparency: 0.6; /* Toolbar and tabs transparency */
--content-transparency: 0.5; /* Content area transparency */
--urlbar-transparency: 0.0; /* URL bar transparency when not focused */
--bookmark-transparency: 0.7; /* Bookmarks and menus transparency */--blur-strength: 10px; /* Strength of the blur effect */
--glass-saturation: 1.8; /* Color saturation for glass effect */
--glass-brightness: 1.1; /* Brightness for glass effect */- v2.1.0 - Added window state awareness, improved glass effects, better sidebar transparency
- v2.0.0 - Major update to make it compatible with newer versions of Firefox.
- v1.0.0 - Initial Release
- Tested on Firefox 115+
- Test on macOS
- Requires macOS Catalina or later for best blur effects
- If transparency isn't working, make sure all required
about:configsettings are enabled - If the theme doesn't load, verify the file paths and CSS import statement
- For the best experience, use the "System theme" in Firefox's theme settings
Feel free to submit issues and pull requests to improve the theme!