Add: Option - dark color, proton chrome

This commit is contained in:
alstjr7375 2021-12-28 16:35:55 +09:00
parent bdbfcd118d
commit 88fae20e2c
3 changed files with 10 additions and 2 deletions

View file

@ -33,10 +33,14 @@
}
/* Fully Dark Mode ************************************************************/
@import "theme/fully_dark";
@include Option($fullyDark) {
@import "theme/fully_dark";
}
/* Proton Theme Mode **********************************************************/
@import "theme/proton_chrome";
@include Option($protonChrome) {
@import "theme/proton_chrome";
}
/** Decoration ****************************************************************/
@import "theme/decoration";

View file

@ -6,6 +6,8 @@ $compatibilityTheme: "userChrome.theme.compatibility.theme";
$compatibilityOS: "userChrome.theme.compatibility.os";
$systemDefault: "userChrome.theme.system_default";
$fullyColor: "userChrome.theme.fully_color";
$darkColor: "userChrome.theme.fully_dark";
$protonChrome: "userChrome.theme.proton_chrome";
@mixin Option($optionName) {
@supports -moz-bool-pref("#{$optionName}") {

View file

@ -42,6 +42,8 @@ user_pref("userChrome.theme.compatibility.theme", true);
user_pref("userChrome.theme.compatibility.os", true);
user_pref("userChrome.theme.system_default", true);
user_pref("userChrome.theme.fully_color", true);
user_pref("userChrome.theme.fully_dark", true);
user_pref("userChrome.theme.proton_chrome", true);
// ** Useful Options ***********************************************************
// Integrated calculator at urlbar