A minimal dark Firefox theme that dynamically colors the interface using the system's accent color (works on Windows, Linux and probably MacOS) while maintaining the browser's default layout and behavior.
- Go to
about:configand settoolkit.legacyUserProfileCustomizations.stylesheetstotrue - Find your profile folder via
about:profiles - Create a
chromefolder in your profile directory - Save
userChrome.css&userContent.cssin the chrome folder - Restart Firefox
cd $env:APPDATA\Mozilla\Firefox\profiles\*.default-release
mkdir *.default-release\chrome
cd chrome
wget https://raw.githubusercontent.com/zachvlat/Dynamic-Color-Firefox-Theme/refs/heads/main/chrome/userChrome.css -O userChrome.css
wget https://raw.githubusercontent.com/zachvlat/Dynamic-Color-Firefox-Theme/refs/heads/main/chrome/userContent.css -O userContentcd ./var/org.mozilla.firefox/config/mozilla/profiles
for /d %i in (*release*) do mkdir "%i\chrome"
for /d %i in (*release*) do wget -O "%i\chrome\userChrome.css" https://raw.githubusercontent.com/zachvlat/Dynamic-Color-Firefox-Theme/refs/heads/main/chrome/userChrome.css
for /d %i in (*release*) do wget -O "%i\chrome\userContent.css" https://raw.githubusercontent.com/zachvlat/Dynamic-Color-Firefox-Theme/refs/heads/main/chrome/userContent.css
for /d %i in (*release*) do wget -O "%i\user.js" https://raw.githubusercontent.com/zachvlat/firefox/refs/heads/main/user.jsSpecial thanks to MrOtherGuy's Firefox CSS Hacks which is a great material for creating themes on Firefox.


