From 0da1b9959fe765b0379d4aeda6486eb656b30dab Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sun, 24 Jul 2022 01:18:11 +0900 Subject: [PATCH] Fix: Compatibility - Missing `$accentColor` at content #437 --- css/leptonContent.css | 4 ++-- src/contents/_proton_color.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/leptonContent.css b/css/leptonContent.css index 2c9323e..be42adb 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -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; } } } diff --git a/src/contents/_proton_color.scss b/src/contents/_proton_color.scss index ab5db3c..ab1fc38 100644 --- a/src/contents/_proton_color.scss +++ b/src/contents/_proton_color.scss @@ -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;