/*== Rosé Pine for ShyFox =========================================================================== Rosé Pine (main / dark) — https://rosepinetheme.com ShyFox does not ship a palette. shy-variables.css derives everything from four variables that the active browser theme normally supplies: --bg-col <- --lwt-accent-color darker background --tb-col <- --toolbar-bgcolor lighter background --bt-col <- --toolbarbutton-icon-fill text and icons --pp-col <- --arrowpanel-background popups Pinning them here means ShyFox renders Rosé Pine even with no theme add-on installed, and it cannot drift if an add-on updates its palette. A Rosé Pine theme add-on is still worth installing for the surfaces ShyFox does not style (about:preferences, about:addons, the PDF viewer) — it will simply agree with these values instead of fighting them. To switch variants, replace the palette block below with Moon or Dawn. ===================================================================================================*/ :root { /* ---- Rosé Pine (main) palette ---- */ --rp-base: #191724; --rp-surface: #1f1d2e; --rp-overlay: #26233a; --rp-muted: #6e6a86; --rp-subtle: #908caa; --rp-text: #e0def4; --rp-love: #eb6f92; --rp-gold: #f6c177; --rp-rose: #ebbcba; --rp-pine: #31748f; --rp-foam: #9ccfd8; --rp-iris: #c4a7e7; --rp-highlight-low: #21202e; --rp-highlight-med: #403d52; --rp-highlight-high: #524f67; /* ---- ShyFox accent ---- */ --shy-accent-color: var(--rp-iris) !important; /* ---- the four variables ShyFox derives everything from ---- */ --lwt-accent-color: var(--rp-base) !important; --toolbar-bgcolor: var(--rp-surface) !important; --toolbarbutton-icon-fill: var(--rp-text) !important; --arrowpanel-background: var(--rp-overlay) !important; /* ---- text colours ---- */ --lwt-text-color: var(--rp-text) !important; --toolbar-color: var(--rp-text) !important; --arrowpanel-color: var(--rp-text) !important; --panel-color: var(--rp-text) !important; --newtab-text-primary-color: var(--rp-text) !important; /* ---- url bar / search field ---- */ --toolbar-field-background-color: var(--rp-overlay) !important; --toolbar-field-color: var(--rp-text) !important; --toolbar-field-border-color: var(--rp-highlight-med) !important; --toolbar-field-focus-background-color: var(--rp-highlight-low) !important; --toolbar-field-focus-color: var(--rp-text) !important; --toolbar-field-focus-border-color: var(--rp-iris) !important; --lwt-toolbar-field-background-color: var(--rp-overlay) !important; --lwt-toolbar-field-color: var(--rp-text) !important; --lwt-toolbar-field-focus: var(--rp-highlight-low) !important; --lwt-toolbar-field-focus-color: var(--rp-text) !important; --urlbar-box-bgcolor: var(--rp-overlay) !important; --urlbar-box-text-color: var(--rp-subtle) !important; /* ---- tabs ---- */ --lwt-selected-tab-background-color: var(--rp-overlay) !important; --tab-selected-bgcolor: var(--rp-overlay) !important; --tab-selected-textcolor: var(--rp-text) !important; --tab-hover-background-color: var(--rp-highlight-low) !important; --lwt-tab-line-color: var(--rp-iris) !important; /* ---- sidebar (Sidebery lives here) ---- */ --lwt-sidebar-background-color: var(--rp-surface) !important; --lwt-sidebar-text-color: var(--rp-text) !important; /* ---- popups / menus ---- */ --panel-separator-color: var(--rp-highlight-med) !important; --panel-item-hover-bgcolor: var(--rp-highlight-low) !important; --panel-item-active-bgcolor: var(--rp-highlight-med) !important; --arrowpanel-border-color: var(--rp-highlight-med) !important; --autocomplete-popup-background: var(--rp-overlay) !important; --autocomplete-popup-color: var(--rp-text) !important; /* ---- links, focus, state ---- */ --link-color: var(--rp-foam) !important; --link-color-hover: var(--rp-rose) !important; --focus-outline-color: var(--rp-iris) !important; --error-text-color: var(--rp-love) !important; --warning-text-color: var(--rp-gold) !important; --success-text-color: var(--rp-pine) !important; /* ---- ShyFox extras ---- */ --shadow-col: #00000040; --private-col: #c4a7e780; /* iris at 50% for the private-window outline */ } /* Rosé Pine is a dark palette; keep it if the OS reports light mode. */ @media (prefers-color-scheme: light) { :root { --lwt-accent-color: var(--rp-base) !important; --toolbar-bgcolor: var(--rp-surface) !important; --toolbarbutton-icon-fill: var(--rp-text) !important; --arrowpanel-background: var(--rp-overlay) !important; } }