Credits to Harvey Cabaguio for setting the theme up, Surendrajat, DRHAX34 and sempasha for the install script and the elementary team for the UI design and icons.
For now theme installation is supported for:
- ๐ฆ Firefox installed with apt package manager. Follow instructions from ask ubuntu to install it.
- ๐ฆ Firefox Nightly installed with apt package manager.
- ๐ฆ Firefox ๐ฆ Flatpak version.
- ๐ฆ Firefox ๐ฆ Snap version.
- ๐บ Librewolf Appimage version.
- ๐บ Librewolf ๐ฆ Flatpak version.
- ๐ง Tor Browser. The theme needs to be installed manually for this browser.
- ๐ง Tor Browser ๐ฆ Flatpak version. The theme needs to be installed manually for this browser.
โFor best experience we recommend to use theme with Firefox installed with apt package manager. Other installations have limited support. We also welcome contributions like editing a userChrome, for example to make a fully supported other version possible. Thanks in advance.
Use this one line install script. Just copy the line to your terminal and press enter. When you want a different window control layout, use Pantheon Tweaks first to select one, after that this script will automatically install the right userChrome:
bash <(wget --quiet --output-document - "https://raw.githubusercontent.com/Zonnev/elementaryos-firefox-theme/elementaryos-firefox-theme/install.sh")
To force installation of Titlebar Enabled Theme, use script below:
bash <(wget --quiet --output-document - "https://raw.githubusercontent.com/Zonnev/elementaryos-firefox-theme/elementaryos-firefox-theme/install.sh") --native-titlebar yes
Installation script will also patch Firefox preference to enable native titlebar usage. Firefox doesn't use native titlebar by default.
To force installation of Private Mode Style, use script:
bash <(wget --quiet --output-document - "https://raw.githubusercontent.com/Zonnev/elementaryos-firefox-theme/elementaryos-firefox-theme/install.sh") --private-mode-style
This will make purple colors of Private Mode as default style.
- In the customization panel in Firefox you can move the new tab button to the left and select System theme. You can also use the dark theme option but light theme is not supported.
- If you use Pantheon Tweaks with the dark mode on, the theme changes to dark mode by itself. Firefox 98 and newer are changing to dark mode when the elementary OS system dark mode is set.
- Go to
about:config
to setwidget.gtk.non-native-titlebar-buttons.enabled
onfalse
to make window controls in private mode appear as eOS standard. - In
about:config
you can make the bottom window corners rounded by settingwidget.gtk.rounded-bottom-corners.enabled
totrue
.
To update installed theme, use script
bash <(wget --quiet --output-document - "https://raw.githubusercontent.com/Zonnev/elementaryos-firefox-theme/elementaryos-firefox-theme/install.sh") --update
To uninstall this theme, do the following:
- Type
about:config
in the address bar of Firefox. - Search for
toolkit.legacyUserProfileCustomizations.stylesheets
and put it onfalse
. Then restart the browser: the browser does not show the theme anymore.
You can now delete the chrome
folder(s) by doing the following:
- Type
about:profiles
in the address bar of Firefox and find your profile folder(s). - Delete the
chrome
folder in your profile folder(s). After this you have completely uninstalled the theme.