[BS5] remove ui theme selector - add darkmode toggler

This commit is contained in:
FreddleSpl0it committed 2022-06-23 16:34:58 +02:00
1 parent 560df58bb4
commit 052959f435
38 files changed
+233 -286379

No files matched your search

+2 -1
View File
@@ -252,7 +252,8 @@ $css_minifier = new CSSminifierExtended();
$css_dir = array_diff(scandir('/web/css/build'), array('..', '.'));
// get customized ui data
$UI_TEXTS = customize('get', 'ui_texts');
$UI_THEME = customize('get', 'ui_theme');
// minify bootstrap theme
if (file_exists('/web/css/themes/'.$UI_THEME.'-bootstrap.css'))
$css_minifier->add('/web/css/themes/'.$UI_THEME.'-bootstrap.css');