Fix: Compatibility - Missing $accentColor at content #437

This commit is contained in:
alstjr7375 2022-07-24 01:18:11 +09:00
parent ddd8b4401d
commit 0da1b9959f
2 changed files with 3 additions and 3 deletions

View file

@ -822,7 +822,7 @@
@supports -moz-bool-pref("userContent.page.proton_color.system_accent") {
:host,
:root {
--in-content-primary-button-text-color: $accentTextColor !important;
--in-content-primary-button-text-color: AccentColorText !important;
--in-content-primary-button-background: Highlight !important;
--in-content-primary-button-background-hover: color-mix(in srgb, black 10%, Highlight) !important;
--in-content-primary-button-background-active: color-mix(in srgb, black 20%, Highlight) !important;
@ -830,7 +830,7 @@
@supports -moz-bool-pref("userChrome.compatibility.accent_color") {
:host,
:root {
--in-content-primary-button-text-color: $accentTextColor !important;
--in-content-primary-button-text-color: -moz-accent-color-foreground !important;
}
}
}

View file

@ -20,7 +20,7 @@
@include Option("userContent.page.proton_color.system_accent") {
:host, :root {
@include AccentColor {
--in-content-primary-button-text-color: $accentTextColor !important;
--in-content-primary-button-text-color: #{$accentTextColor} !important;
}
--in-content-primary-button-background: Highlight !important;
--in-content-primary-button-background-hover: color-mix(in srgb, black 10%, Highlight) !important;