Skip to content

Commit

Permalink
FireFox - theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Nomes77 committed Nov 23, 2023
1 parent 781c3bf commit 6f15c5a
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion FireFox/theme/built_in.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
background-color: var(--lwt-accent-color) !important;
}
}
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
@media (-moz-bool-pref: "layout.css.osx-font-smoothing.enabled") {
:root[lwtheme-mozlightdark]:not([lwthemetextcolor="bright"]) #navigator-toolbox,
:root[style*="--lwt-accent-color: rgb(240, 240, 244); --lwt-text-color: rgba(21, 20, 26);"] #navigator-toolbox,
:root[style*="--lwt-accent-color: rgb(237, 237, 241); --lwt-text-color: rgba(21, 20, 26);"] #navigator-toolbox {
Expand Down
2 changes: 1 addition & 1 deletion FireFox/theme/fully_color.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
--toolbarbutton-hover-background: rgba(232, 224, 255, 0.11999999731779099) !important;
}
}
@supports -moz-bool-pref("userChrome+Content.theme.non_native_menu") {
@media (-moz-bool-pref: "userChrome+Content.theme.non_native_menu") {
@media (-moz-gtk-csd-available) {
:is(html#main-window, window:is(#places, #bookmarksPanel, #history-panel))
menupopup:not(.in-menulist) {
Expand Down
2 changes: 1 addition & 1 deletion FireFox/theme/non_native_menu.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** Non Native Menu ******************************************************************/
@supports -moz-bool-pref("userChrome+Content.theme.non_native_menu") {
@media (-moz-bool-pref: "userChrome+Content.theme.non_native_menu") {
@media (-moz-gtk-csd-available) {
:root {
/* Override some menu color variables for light browser themes. */
Expand Down
2 changes: 1 addition & 1 deletion FireFox/theme/proton_color.css
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
--menu-icon-opacity: var(--dark-menu-icon-opacity);
}
}
@supports -moz-bool-pref("userChrome+Content.theme.non_native_menu") {
@media (-moz-bool-pref: "userChrome+Content.theme.non_native_menu") {
@media (-moz-gtk-csd-available) {
:root {
/* Override some menu color variables for light browser themes. */
Expand Down
2 changes: 1 addition & 1 deletion FireFox/theme/system_default_theme/cool_breeze.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@supports -moz-bool-pref("userChrome+Content.theme.cool_breeze") {
@media (-moz-bool-pref: "userChrome+Content.theme.cool_breeze") {
:root:is(#main-window):not(:-moz-lwtheme, [privatebrowsingmode=temporary]) {
--win-component-bgcolor: rgb(163, 198, 218) !important;
}
Expand Down
8 changes: 4 additions & 4 deletions FireFox/theme/system_default_theme/private_mode.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*= Private Theme Mode ==============================================================*/
@supports -moz-bool-pref("userChrome+Content.theme.private_mode") {
@supports not -moz-bool-pref("browser.theme.dark-private-windows") {
@media (-moz-bool-pref: "userChrome+Content.theme.private_mode") {
@media (not (-moz-bool-pref: "browser.theme.dark-private-windows")) {
:root[privatebrowsingmode=temporary]:not(:-moz-lwtheme) {
--win-text-color: rgb(255, 255, 255);
--win-bgcolor: #2b2b2b;
Expand Down Expand Up @@ -42,7 +42,7 @@
--win-urlbar-popup-accent-color: rgb(143, 196, 236);
--win-urlbar-popup-hover-active-bgcolor: rgb(69, 69, 69);
}
@supports -moz-bool-pref("userChrome+Content.compatibility.os.win11") {
@media (-moz-bool-pref: "userChrome+Content.compatibility.os.win11") {
:root[privatebrowsingmode=temporary]:not(:-moz-lwtheme) {
--win-bgcolor: #202020;
--win-hover-bgcolor: #383838; /* also button-bgcolor */
Expand Down Expand Up @@ -175,7 +175,7 @@
}
}
/*= Private Theme Mode =======================================================*/
@supports -moz-bool-pref("userChrome+Content.theme.private") {
@media (-moz-bool-pref: "userChrome+Content.theme.private") {
:root[privatebrowsingmode="temporary"],
:root[lwtheme-mozlightdark]:not([lwthemetextcolor="bright"])[privatebrowsingmode="temporary"],
:root[style*="--lwt-accent-color: rgb(240, 240, 244); --lwt-text-color: rgba(21, 20, 26);"][privatebrowsingmode="temporary"],
Expand Down
8 changes: 4 additions & 4 deletions FireFox/theme/system_default_theme/win10.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
--win-urlbar-popup-hover-active-bgcolor: rgb(193, 193, 193);

}
@supports -moz-bool-pref("userChrome+Content.compatibility.os.win11") {
@media (-moz-bool-pref: "userChrome+Content.compatibility.os.win11") {
:root:not(:-moz-lwtheme) {
--win-text-color: #1a1a1a;
--win-bgcolor: #e8e8e8;
Expand Down Expand Up @@ -112,7 +112,7 @@
--win-urlbar-popup-accent-color: rgb(143, 196, 236);
--win-urlbar-popup-hover-active-bgcolor: rgb(69, 69, 69);
}
@supports -moz-bool-pref("userChrome+Content.compatibility.os.win11") {
@media (-moz-bool-pref: "userChrome+Content.compatibility.os.win11") {
:root:not(:-moz-lwtheme) {
--win-bgcolor: #202020;
--win-hover-bgcolor: #383838; /* also button-bgcolor */
Expand Down Expand Up @@ -153,7 +153,7 @@
--tab-selected-bgcolor: unset !important;
--tab-icon-overlay-fill: var(--win-text-color) !important;
--tab-icon-overlay-stroke: var(--win-field-bgcolor) !important;
--tab-line-color: Highlight !important;
--tab-line-color: AccentColor !important;
--tabs-border-color: transparent !important;
/* Toolbar */
--toolbar-color: var(--win-text-color) !important;
Expand Down Expand Up @@ -237,7 +237,7 @@
--arrowpanel-border-color: var(--win-bgcolor) !important;
--panel-separator-color: var(--win-bgcolor) !important;
}
@supports -moz-bool-pref("userChrome+Content.compatibility.os.win11") {
@media (-moz-bool-pref: "userChrome+Content.compatibility.os.win11") {
:root:not(:-moz-lwtheme) {
--chrome-content-separator-color: var(--win11-chrome-separator-color) !important;
}
Expand Down

0 comments on commit 6f15c5a

Please sign in to comment.