Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leadweedy/Firefox-Proton-Square
Makes Firefox Proton UI square again
https://github.com/leadweedy/Firefox-Proton-Square
Last synced: 14 days ago
JSON representation
Makes Firefox Proton UI square again
- Host: GitHub
- URL: https://github.com/leadweedy/Firefox-Proton-Square
- Owner: leadweedy
- License: gpl-3.0
- Fork: true (black7375/Firefox-UI-Fix)
- Created: 2021-04-30T00:22:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T04:13:16.000Z (3 months ago)
- Last Synced: 2024-08-02T16:54:44.619Z (3 months ago)
- Language: CSS
- Homepage:
- Size: 3.9 MB
- Stars: 107
- Watchers: 4
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Firefox Proton Square
*Recreates the feel of Quantum with its squared tabs and menus. No rounded corners to be seen.*![Sample Screenshot of Theme](https://raw.githubusercontent.com/leadweedy/Firefox-Proton-Square/main/images/ff_protonbutquantum.png "Sample Screenshot")
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
## Installation1. 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 FirefoxTo update, repeat steps 2-4. `userVariables.css` does NOT need to be replaced.
[Thunderbird is also supported.](../../wiki/Thunderbird-Install)
## Custom Preferences
⚠️ Restart Firefox to apply changes ⚠️**`userVariables.css`**
- Custom color controlled by `--custom-accent-color: ;`
- Tab divider color controlled by `--custom-tab-divider-color: ;`
- Use hex color code or [color name](https://www.w3schools.com/cssref/css_colors.asp)
- 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`**
Add the following preferences in the `about:config` page as a boolean (`true`/`false`) to set the desired behavior
- `browser.windowcontrolbuttons.overwrite`: Toggles default window controls in title bar (linux only) by creating the pref
- default buttons with light/dark theme (![mozilla buttons](https://raw.githubusercontent.com/leadweedy/Firefox-Proton-Square/main/images/mozilla_buttons.png)) vs. OS themed buttons (![breeze buttons](https://raw.githubusercontent.com/leadweedy/Firefox-Proton-Square/main/images/breeze_buttons.png))
- `browser.syncavatar.round` Re-rounds the sync profile picture on the nav bar
- `browser.appmenugradient.overwrite` Colors the separator in the app menu
- ![colored separator in appmenu](https://raw.githubusercontent.com/leadweedy/Firefox-Proton-Square/main/images/appmenu_gradient.png)
- `browser.lefttabspacer.enable` Toggles more padding on left side of tab bar
- `browser.unifiedextensions.hide` Toggles the Unified Extensions button on the nav bar
- Hide Extensions Dot (![example extensions dot](https://raw.githubusercontent.com/leadweedy/Firefox-Proton-Square/main/images/extensions_dot.png)) by creating the pref `browser.extensionsdot.hide` = `true`
- `browser.tabcontextline.match_container_color` Toggles the color of the tab context line (top line of the active tab) between matching the container color and the user color
- ![dynamic container tab colors](https://raw.githubusercontent.com/leadweedy/Firefox-Proton-Square/main/images/container_tabs.png)## Suggested Tweaks
**`about:config`**
- `browser.tabs.tabMinWidth`
- `150` px or desired width
- `widget.non-native-theme.gtk.scrollbar.round-thumb`
- `false` squares the scrollbar (linux only)
- `layout.css.devPixelsPerPx`
- scale the whole browser (1.0 represents 100% scaling)**Addons**
- [Stylus](https://addons.mozilla.org/en-US/firefox/addon/styl-us/) 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](https://github.com/leadweedy/Firefox-Proton-Square/issues/7) 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](https://github.com/paulmcauley/klassy) with 0 titlebar radius## Appendix
[More examples and screenshots.](../../wiki/Appendix)