Skip to content

About

Custom CSS to modify the theme colors of Firefox.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Firefox CSS project logo

License Badge Static Badge Static Badge

Firefox CSS

I have always written my own Firefox themes to match the system colors I am using at any given time. Right now I use the KDE Plasma DE with the KDE-Material-You-Colors package and set the color I want manually instead of using the automatic wallpaper feature.

Anyway, for the first time I wrote some userContent.ccs to match all of the about:* pages with my themes. I have several themes listed in the "store" under my Mozilla Developer account and some others that are signed by Mozilla but not listed. If you want the link to get those you can DM me.

Firefox Screenshot

My Themes

Theme Add-on ID Link
Material Dark Forest {84a237dc-7559-4934-b750-ea8beb15df7a} ↓ Download ↓
Material Purple Enhanced {88708e01-e476-4e5e-b56e-f1b998b54189} ↓ Download ↓
Material Navy Blue {dc0110a2-05ed-4f3b-870e-b60d9a415016} ↓ Download ↓
Breeze Light {208408d5-228a-450c-879a-d9fc96797800} ↓ Download ↓
Breeze Dark {3333da79-3641-4ad7-beeb-19d81558d166} ↓ Download ↓

System Configuration

Property Value
Operating System Fedora 44 KDE Plasma Edition
Kernel Version 7.2.9-200.fc44.x86_64
Firefox Version 157.0.1 (64-bit)
Firefox Build 20261005135250

Note

I have noticed that some desktop environments, like GNOME and Xfce, tend to force their own native appearance for text input and search boxes, overriding the custom CSS. If this happens in your case you can uncomment the line, appearance: none !important;. I do not have a Windows installation to test, but I have had a Windows 10 user report that it works on their machine. However, YMMV.

Theme Setup

  1. Enable CSS customization in about:config:
    • Open a new tab, and navigate to the about:config page via the address bar.
    • Click "Accept the Risk and Continue" if it appears.
    • Search for toolkit.legacyUserProfileCustomizations.stylesheets and toggle it to true by double-clicking it or using the button on the right side.
  2. Locate and open your profile folder:
    • Go to FF Menu → Help → 'More Troubleshooting Information' or navigate to about:support in your address bar.
    • Under 'Application Basics', click the 'Open Folder' ('Show in Finder' on MacOS) button next to 'Profile folder'. You should now see your profile folder open in your file manager.

Note

For Thunderbird, the menu choice is TB Menu → Help → 'Troubleshooting Information'.

  1. Create the folder and its files:
    • Inside your profile folder, create a new folder named 'chrome' (case-insensitive).
    • Move the files into the 'chrome' folder: userChrome.css and userContent.css (case sensitive).
  2. Restart the application (three options):
    • Close and restart the application the way you normally would.
    • Go to about:profiles and click the 'Restart normally...' button.
    • Go to about:restartrequired and click the 'Restart Firefox' button.

Note

For Thunderbird, close and restart the application the way you normally would, or go to TB Menu → Help Troubleshooting Information → click about:profiles link near the bottom of the 'Application Basics' section → click the 'Restart normally' button

About

Custom CSS to modify the theme colors of Firefox.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages