r/FirefoxCSS • u/gokuangel86 • Oct 18 '26
Solved Changing the Nova accent color
/r/firefox/comments/1x8zdn9/changing_the_nova_accent_color/
5
Upvotes
r/FirefoxCSS • u/gokuangel86 • Oct 18 '26
8
u/ResurgamS13 Oct 18 '26 edited Oct 18 '26
Place in your profile's 'userChrome.css' file:
Place in your profile's 'userContent.css' file:
Adjust the accent colour value 'orange' to suit... can use named CSS colours or other colour formats e.g. hex, rgb, oklch.
If not familiar with modifying Firefox's UI with 'userChrome.css' and 'userContent.css' files... follow this sub's Wiki > Tutorial.
3
u/t31os Oct 18 '26
Have a look over the variables set here:
https://searchfox.org/firefox-main/source/toolkit/themes/shared/design-system/dist/tokens-shared.css
You'll need to override any of the values here that reference violet and change them for a different value:
https://searchfox.org/firefox-main/source/toolkit/themes/shared/design-system/dist/tokens-shared.css#765
For example you could start with:
Other possible color variables can be seen around line 216.
See how much that covers, and go from there. You'll have to work down the list and see what else needs changing, a couple others that stand out would be
--toolbar-field-text-colorand--toolbarbutton-icon-fill.I'd note this will only cover the UI, and will also need to be copied into userContent.css to change the accent on the settings pages.