Add: Option - system default theme

This commit is contained in:
alstjr7375 2021-12-28 15:54:13 +09:00
parent 37643c447b
commit aac7d92899
3 changed files with 7 additions and 3 deletions

View file

@ -16,7 +16,9 @@
}
/** System Default Theme ******************************************************/
@import "theme/system_default_theme";
@include Option($systemDefault) {
@import "theme/system_default_theme";
}
/** Fully Theme Mode **********************************************************/
/* Default Themes

View file

@ -1,9 +1,10 @@
$tabProton: "userChrome.tab.proton";
$builtInContrast: "userChrome.theme.builtInContrast";
$builtInContrast: "userChrome.theme.built_in_contrast";
$compatibility: "userChrome.theme.compatibility";
$compatibilityTheme: "userChrome.theme.compatibility.theme";
$compatibilityOS: "userChrome.theme.compatibility.os";
$systemDefault: "userChrome.theme.system_default";
@mixin Option($optionName) {
@supports -moz-bool-pref("#{$optionName}") {

View file

@ -36,10 +36,11 @@ user_pref("userChrome.panel.proton", true); // Original, Proton
// user_pref("userChrome.panel.photon", true); // Photon
// == Theme Default Settings ===================================================
user_pref("userChrome.theme.builtInContrast", true);
user_pref("userChrome.theme.built_in_contrast", true);
user_pref("userChrome.theme.compatibility", true);
user_pref("userChrome.theme.compatibility.theme", true);
user_pref("userChrome.theme.compatibility.os", true);
user_pref("userChrome.theme.system_default", true);
// ** Useful Options ***********************************************************
// Integrated calculator at urlbar