Skip to content

Instantly share code, notes, and snippets.

@Arty2
Last active April 7, 2020 16:04
Show Gist options
  • Save Arty2/d64726abac823662b36c406aa80181a7 to your computer and use it in GitHub Desktop.
Save Arty2/d64726abac823662b36c406aa80181a7 to your computer and use it in GitHub Desktop.
Firefox CSS to change the accent color on top of tabs. Use with userChrome.css
/*
1. Navigate to `%APPDATA%\Mozilla\Firefox\Profiles ...` or locate the exact directory at `about:profiles`
2. Create a folder named `chrome` then create a file named userChrome.css inside it and paste this code
3. If userChrome.css doesn’t seem to work, open `about:config` and set `toolkit.legacyUserProfileCustomizations.stylesheets=true`
*/
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
.tab-line[selected="true"] {
background-color : #841ebe;
}
#urlbar[focused=true] {
border-color: #841ebe !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment