Add: builtInContrast Option

This commit is contained in:
alstjr7375 2021-12-28 15:20:23 +09:00
parent c9ec7bc97b
commit 90fdecf75a
3 changed files with 8 additions and 1 deletions

View file

@ -6,7 +6,9 @@
@namespace html "http://www.w3.org/1999/xhtml";
/** Default Thme - Contrast ***************************************************/
@import "theme/built_in";
@include Option($builtInContrast) {
@import "theme/built_in";
}
/** Theme - Compatibility *****************************************************/
@import "theme/theme_compatibility";

View file

@ -1,5 +1,7 @@
$tabProton: "userChrome.tab.proton";
$builtInContrast: "userChrome.theme.builtInContrast";
@mixin Option($optionName) {
@supports -moz-bool-pref("#{$optionName}") {
@content;

View file

@ -35,6 +35,9 @@ user_pref("userChrome.tab.connect_to_window", true); // Original, Photon
user_pref("userChrome.panel.proton", true); // Original, Proton
// user_pref("userChrome.panel.photon", true); // Photon
// == Theme Default Settings ===================================================
user_pref("userChrome.theme.builtInContrast");
// ** Useful Options ***********************************************************
// Integrated calculator at urlbar
user_pref("browser.urlbar.suggest.calculator", true);