Skip to content

Instantly share code, notes, and snippets.

@LoneBoco
Created June 5, 2021 01:05
Show Gist options
  • Save LoneBoco/5355cd885e41cf34fb2ca215a4eeed0d to your computer and use it in GitHub Desktop.
Save LoneBoco/5355cd885e41cf34fb2ca215a4eeed0d to your computer and use it in GitHub Desktop.
Photon Colors Theme Tweaks
/* Photon Colors Theme Tweaks */
/* https://addons.mozilla.org/en-US/firefox/addon/photon-colors/ */
/* Fixes up problems that a theme cannot alter. */
/* Fixes the highlight on the new tab button. */
#tabs-newtab-button {
--toolbarbutton-hover-background: color-mix(in srgb, currentColor 22%, transparent);
}
/* Turns menus back into light themed menus. */
/* These values are taken directly from global.css:257 for Windows 10. */
menupopup {
--menuitem-hover-background-color: #e0e0e6 !important;
--menu-background-color: #f9f9fb !important;
--menu-color: #15141a !important;
--menuitem-disabled-hover-background-color: rgba(224, 224, 230, 0.4) !important;
--menu-disabled-color: rgba(21, 20, 26, 0.4) !important;
--menu-border-color: #cfcfd8 !important;
--menu-icon-opacity: 0.7 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment