Temporarily disable theme mode adjustments

This commit is contained in:
Johannes Meyer 2021-06-29 14:21:42 +02:00
parent 6c03c80f97
commit 1c76f19408
2 changed files with 6 additions and 0 deletions

View File

@ -247,6 +247,9 @@ class PreferenceForm extends Form
]
);
// Temporarily disabled. Re-enabled with v2.10
$this->removeElement('theme_mode');
/** @var GettextTranslator $translator */
$translator = StaticTranslator::$instance;

View File

@ -175,6 +175,9 @@ class StyleSheet
}
}
// Temporarily disabled. Re-enabled with v2.10
$mode = 'none';
$this->lessCompiler->setThemeMode($this->pubPath . '/css/modes/'. $mode . '.less');
}