From eb6c2659c877b927d5461d9de309dd16e8ae8155 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 5 Jul 2021 21:42:20 +0200 Subject: Add dark color mode for admin theme This commit adds a dark color mode for the admin theme. The dark color mode can be enabled/disabled by clicking the hyperlink in the footer. It is not perfect yet (it uses cookies and needs a full page reload), but it works just fine for the moment. Hope your eyes can enjoy it! --- theme/admin/lang/de.php | 6 ++++++ theme/admin/lang/en.php | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'theme/admin/lang') diff --git a/theme/admin/lang/de.php b/theme/admin/lang/de.php index 716a0a0..54e8352 100644 --- a/theme/admin/lang/de.php +++ b/theme/admin/lang/de.php @@ -13,6 +13,12 @@ #=============================================================================== $LANGUAGE['date_format'] = '[D].[M].[Y]'; +#=============================================================================== +# Theme color switch +#=============================================================================== +$LANGUAGE['bright_colors'] = 'Helle Farben'; +$LANGUAGE['dark_colors'] = 'Dunkle Farben'; + #=============================================================================== # Item last text #=============================================================================== diff --git a/theme/admin/lang/en.php b/theme/admin/lang/en.php index adf10ff..9232b25 100644 --- a/theme/admin/lang/en.php +++ b/theme/admin/lang/en.php @@ -13,6 +13,12 @@ #=============================================================================== $LANGUAGE['date_format'] = '[Y]-[M]-[D]'; +#=============================================================================== +# Theme color switch +#=============================================================================== +$LANGUAGE['bright_colors'] = 'Bright colors'; +$LANGUAGE['dark_colors'] = 'Dark colors'; + #=============================================================================== # Item last text #=============================================================================== -- cgit v1.2.3