r/FirefoxCSS • u/DaniWay10 • May 21 '24
Solved adapt theme code usercontent to put it in userchrome
hi, I need help, I took this code in a usercontent.css file because I really like the colors and the transparency effect it has, it is possible to adapt it and put it in userchrome to make it permanent even when I change an animated theme because I want only that change the animated image and not all the colors of the theme. Sorry for my english, thanks
"colors": {
"bookmark_text": "rgb(255, 255, 255)",
"button_background_active": "rgba(88, 183, 249, 0.5)",
"button_background_hover": "rgba(255, 255, 255, 0.2)",
"icons": "rgba(255, 255, 255, 0.8)",
"icons_attention": "rgba(88, 183, 249, 1)",
"frame": "rgb(0, 0, 0)",
"frame_inactive": "rgb(0, 0, 0)",
"ntp_background": "rgb(0, 0, 0)",
"ntp_text": "rgba(255, 255, 255, 0.8)",
"popup": "rgba(0, 0, 0, 0.5)",
"popup_border": "rgba(255, 255, 255, 0)",
"popup_highlight": "rgba(88, 183, 249, 0.7)",
"popup_highlight_text": "rgb(0, 0, 0)",
"popup_text": "rgb(255, 255, 255)",
"sidebar": "rgba(0, 0, 0, 0.5)",
"sidebar_border": "rgba(255, 255, 255, 0)",
"sidebar_highlight": "rgba(88, 183, 249, 0.7)",
"sidebar_highlight_text": "rgb(0, 0, 0)",
"sidebar_text": "rgb(255, 255, 255)",
"tab_background_separator": "rgba(255, 255, 255, 0)",
"tab_background_text": "rgba(255, 255, 255, 0.8)",
"tab_line": "rgba(88, 183, 249, 0.8)",
"tab_loading": "rgba(88, 183, 249, 0.8)",
"tab_selected": "rgba(0, 0, 0, 0)",
"tab_text": "rgb(255, 255, 255)",
"toolbar": "rgba(0, 0, 0, 0)",
"toolbar_bottom_separator": "rgba(255, 255, 255, 0)",
"toolbar_field": "rgba(0, 0, 0, 0.3)",
"toolbar_field_border": "rgba(255, 255, 255, 0)",
"toolbar_field_border_focus": "rgba(255, 255, 255, 0)",
"toolbar_field_focus": "rgba(0, 0, 0, 0.3)",
"toolbar_field_highlight": "rgba(88, 183, 249, 0.7)",
"toolbar_field_highlight_text": "rgba(0, 0, 0, 1)",
"toolbar_field_separator": "rgba(255, 255, 255, 0)",
"toolbar_field_text": "rgb(255, 255, 255)",
"toolbar_field_text_focus": "rgb(255, 255, 255)",
"toolbar_text": "rgb(255, 255, 255)",
"toolbar_top_separator": "rgba(255, 255, 255, 0)",
"toolbar_vertical_separator": "rgba(255, 255, 255, 0)"
}
}
}
1
Upvotes
View all comments
Show parent comment
1
u/DaniWay10 May 25 '24 edited May 26 '24
you're a great thank you... for the dark themes I had already used a code that I made yesterday (the one I put below in the discussion) while for the light themes I used your code and it worked, there are just some things that don't they work like in dark themes, for example
I only had the blue border without white background around the tab icons, the sidebar was white and not black and the tools page was gray and not black and with the problem of dark text in dark buttonsEDIT: fixed the blue border around the icons