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. */
|
2019-07-14 04:46:00 +03:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
/* Browser area before a page starts loading */
|
2022-03-25 17:50:28 +02:00
|
|
|
--gnome-browser-before-load-background: #242424;
|
2021-11-18 00:25:30 +02:00
|
|
|
|
|
|
|
/* Accent */
|
2022-07-04 19:11:11 +03:00
|
|
|
--gnome-accent-bg: #3584e4;
|
2022-05-22 03:47:41 +03:00
|
|
|
--gnome-accent: #78aeed;
|
2019-06-02 21:16:12 +03:00
|
|
|
|
2019-07-14 04:46:00 +03:00
|
|
|
/* Toolbars */
|
2022-05-19 17:24:00 +03:00
|
|
|
--gnome-toolbar-background: #242424;
|
2019-07-14 04:46:00 +03:00
|
|
|
--gnome-toolbar-color: #ffffff;
|
2022-10-09 04:12:34 +03:00
|
|
|
--gnome-toolbar-border-color: rgba(0, 0, 0, .36);
|
2020-07-19 15:58:22 +03:00
|
|
|
--gnome-toolbar-icon-fill: #eeeeec;
|
|
|
|
--gnome-inactive-toolbar-color: #919190;
|
2022-05-19 17:24:00 +03:00
|
|
|
--gnome-inactive-toolbar-background: var(--gnome-toolbar-background);
|
2022-10-09 04:12:34 +03:00
|
|
|
--gnome-inactive-toolbar-border-color: var(--gnome-toolbar-border-color);
|
2020-07-19 15:58:22 +03:00
|
|
|
--gnome-inactive-toolbar-icon-fill: #919190;
|
2019-06-02 21:16:12 +03:00
|
|
|
|
2019-07-14 04:46:00 +03:00
|
|
|
/* Sidebar */
|
2022-05-22 21:53:58 +03:00
|
|
|
--gnome-sidebar-background: var(--gnome-toolbar-background);
|
2022-03-25 17:50:28 +02:00
|
|
|
--gnome-inactive-sidebar-background: var(--gnome-sidebar-background);
|
2019-06-02 21:16:12 +03:00
|
|
|
|
2022-05-19 07:25:22 +03:00
|
|
|
/* Menus */
|
2022-05-22 21:53:58 +03:00
|
|
|
--gnome-menu-background: #383838;
|
2022-05-19 07:25:22 +03:00
|
|
|
--gnome-menu-border-color: rgba(0, 0, 0, .14);
|
2022-05-18 21:06:59 +03:00
|
|
|
--gnome-menu-shadow: 0 1px 5px 1px rgba(0,0,0, .09), 0 2px 14px 3px rgba(0,0,0, .05);
|
2022-05-20 20:12:32 +03:00
|
|
|
--gnome-menu-button-hover-background: var(--gnome-button-background);
|
2022-05-22 06:18:41 +03:00
|
|
|
--gnome-menu-separator-color: rgba(255, 255, 255, .1);
|
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;
|
2022-05-19 17:24:00 +03:00
|
|
|
--gnome-headerbar-border-color: var(--gnome-toolbar-border-color);
|
|
|
|
--gnome-inactive-headerbar-background: var(--gnome-inactive-toolbar-background);
|
|
|
|
--gnome-inactive-headerbar-border-color: var(--gnome-inactive-toolbar-border-color);
|
2019-06-04 18:08:59 +03:00
|
|
|
|
2021-08-31 02:45:00 +03:00
|
|
|
/* Buttons */
|
2022-05-18 07:54:25 +03:00
|
|
|
--gnome-button-background: rgba(255, 255, 255, .1);
|
|
|
|
--gnome-button-hover-background: rgba(255, 255, 255, .15);
|
|
|
|
--gnome-button-active-background: rgba(255, 255, 255, .3);
|
|
|
|
--gnome-button-flat-hover-background: rgba(255, 255, 255, .07);
|
|
|
|
--gnome-button-flat-active-background: rgba(255, 255, 255, .1);
|
2022-05-19 17:24:00 +03:00
|
|
|
--gnome-button-suggested-action-background: var(--gnome-accent-bg);
|
2022-05-23 02:04:13 +03:00
|
|
|
--gnome-button-destructive-action-background: #e01b24;
|
2022-05-18 08:28:04 +03:00
|
|
|
|
|
|
|
--gnome-button-close-background: var(--gnome-button-flat-hover-background);
|
|
|
|
--gnome-button-hover-close-background:var(--gnome-button-hover-background);
|
|
|
|
--gnome-button-active-close-background: var(--gnome-button-active-background);
|
2019-06-02 21:16:12 +03:00
|
|
|
|
2019-07-25 00:31:40 +03:00
|
|
|
/* Entries */
|
2022-07-04 19:11:11 +03:00
|
|
|
--gnome-entry-background: rgba(255, 255, 255, .1);
|
2019-07-25 00:31:40 +03:00
|
|
|
--gnome-entry-color: #ffffff;
|
|
|
|
--gnome-inactive-entry-color: #d6d6d6;
|
2022-05-22 03:47:41 +03:00
|
|
|
--gnome-focused-urlbar-border-color: rgba(120, 174, 237, .5); /* Same as --gnome-accent but with opacity*/
|
2019-06-02 21:16:12 +03:00
|
|
|
|
2019-08-01 23:25:51 +03:00
|
|
|
/* Switch */
|
2022-05-22 06:15:54 +03:00
|
|
|
--gnome-switch-background: rgba(255, 255, 255, .15);
|
|
|
|
--gnome-switch-slider-background: #d2d2d2;
|
|
|
|
--gnome-switch-active-background: var(--gnome-accent-bg);
|
|
|
|
--gnome-switch-active-slider-background: #ffffff;
|
2019-08-01 23:25:51 +03:00
|
|
|
|
2019-07-14 04:46:00 +03:00
|
|
|
/* Tabs */
|
2022-10-07 20:36:21 +03:00
|
|
|
--gnome-tabbar-background: var(--gnome-headerbar-background);
|
2022-10-09 04:12:34 +03:00
|
|
|
--gnome-tabbar-tab-separator-color: rgba(255, 255, 255, .15);
|
2022-10-11 20:48:28 +03:00
|
|
|
--gnome-tabbar-tab-hover-background: rgba(255, 255, 255, .07);
|
|
|
|
--gnome-tabbar-tab-active-background: rgba(255, 255, 255, .1);
|
|
|
|
--gnome-tabbar-tab-active-background-contrast: rgba(255, 255, 255, .3);
|
|
|
|
--gnome-tabbar-tab-active-hover-background: rgba(255, 255, 255, .13);
|
2022-10-07 20:36:21 +03:00
|
|
|
--gnome-inactive-tabbar-background: var(--gnome-inactive-headerbar-background);
|
2022-05-23 03:58:34 +03:00
|
|
|
--gnome-tab-button-background: rgba(0, 0, 0, .5);
|
|
|
|
--gnome-tab-button-hover-background: rgba(0, 0, 0, .6);
|
2022-05-24 22:06:50 +03:00
|
|
|
--gnome-tabbar-tab-identity-base-opacity: 0;
|
2022-10-10 06:27:04 +03:00
|
|
|
--gnome-tabbar-tab-needs-attetion: #546F8E;
|
2019-07-14 04:46:00 +03:00
|
|
|
}
|
2021-08-31 02:45:00 +03:00
|
|
|
|
2020-07-11 03:51:57 +03:00
|
|
|
/* Private window colors */
|
|
|
|
:root {
|
2022-03-25 17:57:42 +02:00
|
|
|
--gnome-private-accent: #71A1DB;
|
2021-11-18 00:25:30 +02:00
|
|
|
|
2022-07-04 19:12:41 +03:00
|
|
|
/* Toolbars */
|
|
|
|
--gnome-private-toolbar-background: #1C2438;
|
|
|
|
--gnome-private-inactive-toolbar-background: var(--gnome-private-toolbar-background);
|
|
|
|
/* Menus */
|
|
|
|
--gnome-private-menu-background: #252F49;
|
2020-07-11 03:51:57 +03:00
|
|
|
/* Header bar */
|
2022-03-25 17:56:38 +02:00
|
|
|
--gnome-private-headerbar-background: #252F49;
|
2022-07-04 19:12:41 +03:00
|
|
|
--gnome-private-inactive-headerbar-background: var(--gnome-private-toolbar-background);
|
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 */
|
|
|
|
--gnome-private-in-content-page-background: #1C2438;
|
|
|
|
|
|
|
|
/* Private browsing info box */
|
|
|
|
--gnome-private-text-primary-color: #FBFBFE;
|
2020-07-11 03:51:57 +03:00
|
|
|
}
|
2019-06-02 21:16:12 +03:00
|
|
|
}
|