2019-06-02 21:16:12 +03:00
|
|
|
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
2019-06-03 20:47:03 +03:00
|
|
|
/* Variables that start with --gnome- are added by me and are assigned
|
2019-06-07 03:35:44 +03:00
|
|
|
* to elements somewhere in this code. The rest of the variables are
|
|
|
|
* built-in in Firefox, so you need to add an !important if you wanna
|
|
|
|
* override them. */
|
2023-07-13 03:50:17 +03:00
|
|
|
@media (prefers-color-scheme: dark) {
|
2019-07-14 04:46:00 +03:00
|
|
|
:root {
|
2021-11-18 00:25:30 +02:00
|
|
|
/* Accent */
|
2023-07-13 03:50:17 +03:00
|
|
|
--gnome-accent-bg: var(--gnome-palette-blue-3);
|
2022-05-22 03:47:41 +03:00
|
|
|
--gnome-accent: #78aeed;
|
2019-06-02 21:16:12 +03:00
|
|
|
|
2023-07-13 03:50:17 +03:00
|
|
|
--gnome-toolbar-star-button: var(--gnome-palette-yellow-1);
|
|
|
|
|
|
|
|
/* Window */
|
|
|
|
--gnome-window-background: #242424;
|
|
|
|
--gnome-window-color: white;
|
|
|
|
--gnome-view-background: #1e1e1e;
|
2023-11-21 19:07:17 +02:00
|
|
|
--gnome-sidebar-background: #303030;
|
|
|
|
--gnome-secondary-sidebar-background: #2a2a2a;
|
2019-06-02 21:16:12 +03:00
|
|
|
|
2023-07-13 03:50:17 +03:00
|
|
|
/* Card */
|
|
|
|
--gnome-card-background: rgba(255, 255, 255, 0.08);
|
|
|
|
--gnome-card-shade-color: color-mix(in srgb, black 36%, transparent);
|
2019-06-02 21:16:12 +03:00
|
|
|
|
2023-07-13 03:50:17 +03:00
|
|
|
/* Menu */
|
2022-05-22 21:53:58 +03:00
|
|
|
--gnome-menu-background: #383838;
|
2019-06-04 18:08:59 +03:00
|
|
|
|
2019-07-14 04:46:00 +03:00
|
|
|
/* Header bar */
|
2022-03-25 17:50:28 +02:00
|
|
|
--gnome-headerbar-background: #303030;
|
2024-01-04 05:58:12 +02:00
|
|
|
--gnome-headerbar-shade-color: rgba(0, 0, 0, 0.9);
|
2022-11-19 02:55:48 +02:00
|
|
|
|
2023-07-13 03:50:17 +03:00
|
|
|
/* Toolbars */
|
|
|
|
--gnome-toolbar-icon-fill: #eeeeec;
|
2019-08-01 23:25:51 +03:00
|
|
|
|
2019-07-14 04:46:00 +03:00
|
|
|
/* Tabs */
|
2022-10-13 03:41:09 +03:00
|
|
|
--gnome-tabbar-tab-hover-background: #3f3f3f; /* Hardcoded color */
|
|
|
|
--gnome-tabbar-tab-active-background: #444444; /* Hardcoded color */
|
|
|
|
--gnome-tabbar-tab-active-background-contrast: #4F4F4F; /* Hardcoded color */
|
|
|
|
--gnome-tabbar-tab-active-hover-background: #4b4b4b; /* Hardcoded color */
|
2021-11-18 00:25:30 +02:00
|
|
|
|
2023-07-16 06:42:41 +03:00
|
|
|
--gnome-tabbar-identity-color-green: var(--gnome-palette-green-1);
|
|
|
|
--gnome-tabbar-identity-color-yellow: var(--gnome-palette-yellow-2);
|
|
|
|
--gnome-tabbar-identity-color-orange: var(--gnome-palette-orange-3);
|
|
|
|
--gnome-tabbar-identity-color-red: var(--gnome-palette-red-1);
|
|
|
|
--gnome-tabbar-identity-color-purple: var(--gnome-palette-purple-1);
|
|
|
|
|
2022-06-26 17:51:14 +03:00
|
|
|
/* Text color for Firefox Logo in new private tab */
|
|
|
|
--gnome-private-wordmark: #FBFBFE;
|
|
|
|
/* New private tab background */
|
2023-03-25 23:40:30 +02:00
|
|
|
--gnome-private-in-content-page-background: #242424;
|
2022-06-26 17:51:14 +03:00
|
|
|
/* Private browsing info box */
|
|
|
|
--gnome-private-text-primary-color: #FBFBFE;
|
2020-07-11 03:51:57 +03:00
|
|
|
}
|
2023-07-13 03:50:17 +03:00
|
|
|
|
|
|
|
/* Backdrop colors */
|
|
|
|
:root:-moz-window-inactive {
|
|
|
|
--gnome-tabbar-tab-hover-background: #2c2c2c; /* Hardcoded color */
|
|
|
|
--gnome-tabbar-tab-active-background: #2e2e2e; /* Hardcoded color */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Private colors */
|
|
|
|
:root[privatebrowsingmode="temporary"] {
|
|
|
|
--gnome-accent-fg: #78aeed;
|
|
|
|
/* Headerbar */
|
|
|
|
--gnome-headerbar-background: #252F49 !important;
|
|
|
|
/* Tabs */
|
|
|
|
--gnome-tabbar-tab-hover-background: #343e56; /* Hardcoded color */
|
|
|
|
--gnome-tabbar-tab-active-background: #343e56; /* Hardcoded color */
|
|
|
|
--gnome-tabbar-tab-active-background-contrast: #495675; /* Hardcoded color */
|
|
|
|
--gnome-tabbar-tab-active-hover-background: #414a61; /* Hardcoded color */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Private and backdrop colors */
|
|
|
|
:root[privatebrowsingmode="temporary"]:-moz-window-inactive {
|
|
|
|
--gnome-headerbar-background: #252F49 !important;
|
|
|
|
--gnome-tabbar-tab-hover-background: #242c3f; /* Hardcoded color */
|
|
|
|
--gnome-tabbar-tab-active-background: #272e41; /* Hardcoded color */
|
|
|
|
}
|
2019-06-02 21:16:12 +03:00
|
|
|
}
|