Tighten Firefox's tab bar and menus to show more content on screen with less wasted space.
Switch to a vertical tab sidebar or move tabs to the bottom of the browser window.
Improve contrast and icon appearance in Firefox's light and dark modes via custom CSS.
Requires enabling toolkit.legacyUserProfileCustomizations.stylesheets in Firefox's about:config before the CSS takes effect.
Firefox UI Fix, also called Lepton, is a collection of CSS style adjustments for the Firefox web browser. CSS is the language that controls how things look on screen, and Firefox allows advanced users to apply custom CSS to its own interface, including the tab bar, menus, and panels. This project takes that feature and uses it to refine the look of Firefox's Proton design, which Mozilla introduced in Firefox 89. The changes cover a range of visual details: tighter padding in tabs and menus to make more content visible on screen, improvements to how the selected tab is highlighted, adjustments to icon appearances in the context menu and sidebar panels, better contrast in light and dark modes, and alternative tab bar layouts such as tabs on the bottom or a vertical tab strip along the side. Each feature is optional and controlled through a user.js settings file that you copy into your Firefox profile folder. Installation involves placing two files into the right directory inside your Firefox profile: a userChrome.css file that imports the styles, and a user.js file that sets the configuration options. The README notes that some settings can conflict with each other and that changes require a browser restart because Firefox does not apply CSS changes in real time. The project requires Firefox 89 or later and is written in SCSS, which is a style language that compiles down to plain CSS. The source is on GitHub and includes a wiki with installation guides, screenshots, and a tips section.
← black7375 on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.