Adaptive-Tab-Bar-Colour icon indicating copy to clipboard operation
Adaptive-Tab-Bar-Colour copied to clipboard

Overwriting Specific Firefox CSS Variables as Advance Settings

Open Josch- opened this issue 2 years ago • 4 comments

Hi,

thanks a lot for this useful Add-On.

I have one problem - the URL field gets the same color, that I set for a specific URL. That color or - with the slider "URL field color" an even darker color. I would prefer a simple white (Tab and Toolbar color is enough, a colored URL field is too much) and tried it with an additional chrome/userChrome.css:

#urlbar-background {
    background: white !important;
}

But that doesn't overwrite the colors set by your Add-On.

How can I achieve this?

Any help will be highly appreciated.

Thanks a lot in advance!

Josch- avatar Dec 06 '22 10:12 Josch-

Hello! @Josch-, your CSS code seems to work pretty well. The URL background gets overwritten by the CSS on my end. (I changed the colour to blue for aesthetics) Screenshot 2022-12-15 at 02 08 28

easonwong-de avatar Dec 15 '22 01:12 easonwong-de

Hi,

after re-create the userCrome.css it now works for mee, too :-)

Could you integrate an option to set the URL field color in your Add-ON? That would be perfect.

Thanks a lot and best wishes,

Josch

KEDO-GmbH avatar Dec 15 '22 10:12 KEDO-GmbH

Hello,

I might not add functions to set specific colour directly. Instead, I’m thinking about letting users set specific CSS variables explicitly as advanced settings, e.g. –lwt-accent-color for the tab bar. But that might not come very soon. So, I would recommand you keeping using CSS theme for the present.

easonwong-de avatar Dec 16 '22 00:12 easonwong-de

Hi,

that is a good idea. I'll be surprised when you get to it :-) Thanks a lot for this helpful Add-On!

Best wishes,

Josch

Josch- avatar Dec 16 '22 10:12 Josch-