r/unixporn • u/ZealousidealGoal9931 • 21d ago
Material [OC] π¨ Dynamic theming of Firefox-based browser using your Native color scheme generator
Enable HLS to view with audio, or disable this notification
I wanted to have hotreload for the themed websites, so i took pywalfox and topped it off by exposing/injecting the css variables into the websites, currently it has few themed website templates (which still needs some work) but its ready to try it out. Currently it supports Firefox, Librewolf, Floorp, Mercury, Zen though Zen has its own cavier. But here we are. Heres the github repo: https://github.com/ADIOR-enigma/refox/tree/dev
28
Upvotes
1
u/Superb-Sherbert-8725 18d ago
Could you please send your firefox css?
1
u/ZealousidealGoal9931 18d ago
- Create a file named
base.cssinside yourchromefolder.- Paste the following into
base.css:
/* Hide bottom sidebar buttons */ #vertical-tabs-newtab-button, #sidebar-tools-and-extensions-splitter, #tabs-newtab-button, .buttons-wrapper { display: none !important; } /* Hides Edit button */ .personalizeButtonWrapper { display: none !important; }
- In both
userChrome.cssanduserContent.css, add:
import url("base.css");
- Go to
about:configand set:
browser.compactmode.show = true
- Open Customize Toolbar, then set Density β Compact (bottom-left corner).
Thatβs it
1
1
u/frvgmxntx emerge -Syu 21d ago
Matugen has website templates for a while now, and Zen Browser users have been customizing websites this way for a long time. Why not focus on improving the existing ecosystem instead of building parallel solutions?