diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-08-01 17:20:05 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-08-01 17:22:21 +0300 |
| commit | 8eb340c3ca9f30e48d8019f16d3b2a4385881192 (patch) | |
| tree | 1e798aae0960cf292d0253e781c5c432b3dfae38 /include/login_form.php | |
| parent | 851ddf4bbe750e30816b6c494165e9860bd39b92 (diff) | |
make default light/dark themes configurable, add support for main application and login form
Diffstat (limited to 'include/login_form.php')
| -rwxr-xr-x | include/login_form.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/login_form.php b/include/login_form.php index 8fa578c11..e601ca619 100755 --- a/include/login_form.php +++ b/include/login_form.php @@ -34,6 +34,11 @@ </script> <script type="text/javascript"> + const __default_light_theme = "<?= get_theme_path(Config::get(Config::DEFAULT_LIGHT_THEME), 'themes/light.css') ?>"; + const __default_dark_theme = "<?= get_theme_path(Config::get(Config::DEFAULT_DARK_THEME), 'themes/night.css') ?>"; + </script> + + <script type="text/javascript"> /* exported Plugins */ const Plugins = {}; |