vinceliuice / WhiteSur-gtk-theme

MacOS Big Sur like theme for Gnome desktops
MIT License
5.81k stars 605 forks source link

Firefox color custom theme does not apply #1032

Open WeyehnR opened 6 months ago

WeyehnR commented 6 months ago

System Details Report


Report details

Hardware Information:

Software Information:

Issue

-Selecting certain color preset does not change theme

image

kernelb00t commented 6 months ago

This is not supported actually. CSS is generated by the install script for Firefox, and it uses fixed colors that can't be modified, as it is a custom theme not very adaptable to every configs. You can go to the Firefox Theme sources, modify the SCSS files and reapply the theme, if you want to have custom colors. I think I've seen a "Firefox debugger", like the one for the webpage when you tap F12, but for Firefox's UI (search it online). It can help you modify the colors in the CSS, seeing what is better for you, and then copy/paste them in the code.

If you have more questions, feel free to ask! If your issue is resolved, please mark as per.

ellocofray commented 5 months ago

Is there, by chance, a way of use the --nord color configuration for the firefox theme?

Searge commented 4 months ago

:heavy_plus_sign: for Nord color modifier.

kernelb00t commented 4 months ago

There is a nord color modifier, --nord. Please mind to close your issue if it is solved, thanks! 😉

Searge commented 4 months ago

Hello, @kernelb00t

Yes, it is, but it doesn't work :pensive:

image

kernelb00t commented 4 months ago

Ok, seems that to implement this, we would need to generate 4 new files: in SRC/other/firefox, derivating a nord scheme from existing colors/dark.css and colors/light.css. I don't know how @vinceliuice made the nord color scheme, if it's by hand or automatically. The best would be to map the colors globally, then when building the theme css is generated (using sass everywhere would be great, or at least it generates colors and then adds it to the existing css codebase). This would enhance legibility of the code and future maintenance.