Fix: Tabbar - Windows accent color with !important #1030

This commit is contained in:
alstjr7375 2025-01-31 02:12:34 +09:00
parent 71b3bac715
commit ad7babfaa9
3 changed files with 14 additions and 14 deletions

16
css/leptonChrome.css generated
View file

@ -814,8 +814,8 @@
.titlebar-color,
:root:is([tabsintitlebar], [customtitlebar])[lwt-default-theme-in-dark-mode]:not(:-moz-window-inactive)
.browser-titlebar {
color: AccentColorText;
background-color: AccentColor;
color: AccentColorText !important;
background-color: AccentColor !important;
}
@supports -moz-bool-pref("userChrome.compatibility.accent_color") {
:root:is([tabsintitlebar], [customtitlebar]):not(:-moz-window-inactive):is(:not([lwtheme]), :not(:-moz-lwtheme))
@ -826,8 +826,8 @@
.titlebar-color,
:root:is([tabsintitlebar], [customtitlebar])[lwt-default-theme-in-dark-mode]:not(:-moz-window-inactive)
.browser-titlebar {
color: -moz-accent-color-foreground;
background-color: -moz-accent-color;
color: -moz-accent-color-foreground !important;
background-color: -moz-accent-color !important;
}
}
:root:is([tabsintitlebar], [customtitlebar]):not(:-moz-window-inactive):is(:not([lwtheme]), :not(:-moz-lwtheme))
@ -14861,8 +14861,8 @@
.titlebar-color,
:root:is([tabsintitlebar], [customtitlebar])[lwt-default-theme-in-dark-mode]:not(:-moz-window-inactive)
.browser-titlebar {
color: AccentColorText;
background-color: AccentColor;
color: AccentColorText !important;
background-color: AccentColor !important;
}
}
@media (-moz-bool-pref: "userChrome.theme.system_default") and (-moz-windows-accent-color-in-titlebar) and (-moz-bool-pref: "userChrome.compatibility.accent_color") {
@ -14874,8 +14874,8 @@
.titlebar-color,
:root:is([tabsintitlebar], [customtitlebar])[lwt-default-theme-in-dark-mode]:not(:-moz-window-inactive)
.browser-titlebar {
color: -moz-accent-color-foreground;
background-color: -moz-accent-color;
color: -moz-accent-color-foreground !important;
background-color: -moz-accent-color !important;
}
}
@media (-moz-bool-pref: "userChrome.theme.system_default") and (-moz-windows-accent-color-in-titlebar) {

View file

@ -1036,8 +1036,8 @@
.titlebar-color,
:root:is([tabsintitlebar], [customtitlebar])[lwt-default-theme-in-dark-mode]:not(:-moz-window-inactive)
.browser-titlebar {
color: AccentColorText;
background-color: AccentColor;
color: AccentColorText !important;
background-color: AccentColor !important;
}
@supports -moz-bool-pref("userChrome.compatibility.accent_color") {
:root:is([tabsintitlebar], [customtitlebar]):not(:-moz-window-inactive):is(:not([lwtheme]), :not(:-moz-lwtheme))
@ -1048,8 +1048,8 @@
.titlebar-color,
:root:is([tabsintitlebar], [customtitlebar])[lwt-default-theme-in-dark-mode]:not(:-moz-window-inactive)
.browser-titlebar {
color: -moz-accent-color-foreground;
background-color: -moz-accent-color;
color: -moz-accent-color-foreground !important;
background-color: -moz-accent-color !important;
}
}
:root:is([tabsintitlebar], [customtitlebar]):not(:-moz-window-inactive):is(:not([lwtheme]), :not(:-moz-lwtheme))

View file

@ -376,8 +376,8 @@
.titlebar-color,
.browser-titlebar {
@include AccentColor {
color: $accentTextColor;
background-color: $accentColor; // TODO: Use $accentBorder
color: $accentTextColor !important;
background-color: $accentColor !important; // TODO: Use $accentBorder
}
}