Skip to content

leadweedy/Firefox-Proton-Square

 
 

Repository files navigation

Firefox Proton Square

Recreates the feel of Quantum with its squared tabs and menus. No rounded corners to be seen.

Sample Screenshot of Theme

If you hate rounded corners like me, this is for you. Only square corners.

These tweaks attempt to recreate the feel of Quantum with its squared tabs and menus, but in the Proton UI. As of FF91, the about:config option to disable proton has been deprecated, leaving CSS as the main way to revert the UI.

Features

Tab & Menu Design

  • Square corners
  • Colored context line above selected tab
  • Divide Line between tabs

Custom Accent Color

  • Consistent, customizable accent color across Firefox

Customizable

  • User customizable variables can be found in the userVariables.css file for easy access
  • Static file retains saved preferences, does not need to be updated

Installation

  1. Enable userChrome.css Support.
    • Go to about:config
    • toolkit.legacyUserProfileCustomizations.stylesheets to true
  2. Find Profile Directory.
    • Go to about:support
    • Open Profile Directory
  3. Copy Files
    • create chrome directory at profile
    • download the userChrome.css, userContent.css, and userVariables.css files from the latest release
    • copy the files into the chrome directory
  4. Restart Firefox

To update, repeat steps 2-4. userVariables.css does NOT need to be replaced.

Thunderbird is also supported.

Custom Preferences

⚠️ Restart Firefox to apply changes ⚠️

userVariables.css

  • Custom color controlled by --custom-accent-color: <insert color here>;
  • Tab divider color controlled by --custom-tab-divider-color: <insert color here>;
  • Use hex color code or color name
  • set divider color = none, to disable dividers
  • Set height of the tabs
  • Scale the size of sync avatar
  • Custom padding/margin for menu items

about:config

  • Use default window controls in title bar (linux only) by creating the pref browser.windowcontrolbuttons.overwrite = true
  • default buttons with light/dark theme (mozilla buttons) vs. OS themed buttons (breeze buttons)
  • Re-round sync profile picture by creating the pref browser.syncavatar.round = true
  • Color the separator in the app menu by creating the pref browser.appmenugradient.overwrite = true
  • colored separator in appmenu
  • Add more padding on left side of tab bar by creating the pref browser.lefttabspacer.enable = true
  • Disable Unified Extensions button (on the nav bar) by created the pref browser.unifiedextensions.hide = true
  • Hide Extensions Dot (example extensions dot) by creating the pref browser.extensionsdot.hide = true

Suggested Tweaks

about:config

  • set browser.tabs.tabMinWidth to 150 px or desired width
  • set widget.non-native-theme.gtk.scrollbar.round-thumb to false to square the scrollbar (linux only)
  • change layout.css.devPixelsPerPx to scale the whole browser (1.0 represents 100% scaling)

Addons

  • Stylus or similar for editing webpage CSS
  • create custom rules to apply *{border-radius: 0 !important} to square most elements on webpages
  • may result in webpage breakages, apply at own risk

Operating System

  • Linux/all: add this to ~/.config/gtk-3.0/gtk.css, squares popups in Firefox (and GTK apps):
decoration, window, window.background, window.titlebar, * {
border-radius: 0px;
}
  • Linux/KDE: Klassy with 0 titlebar radius

Appendix

More examples and screenshots.

About

Makes Firefox Proton UI square again

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 100.0%