aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/lang
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-05 21:42:20 +0200
committerThomas Lange <code@nerdmind.de>2021-07-05 22:00:36 +0200
commiteb6c2659c877b927d5461d9de309dd16e8ae8155 (patch)
treefdde59b56169998cfd67187861a6c34fca928039 /theme/admin/lang
parentcb6e45b130bde70458ee544069834a951214037d (diff)
downloadblog-eb6c2659c877b927d5461d9de309dd16e8ae8155.tar.gz
blog-eb6c2659c877b927d5461d9de309dd16e8ae8155.tar.xz
blog-eb6c2659c877b927d5461d9de309dd16e8ae8155.zip
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!
Diffstat (limited to 'theme/admin/lang')
-rw-r--r--theme/admin/lang/de.php6
-rw-r--r--theme/admin/lang/en.php6
2 files changed, 12 insertions, 0 deletions
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
@@ -14,6 +14,12 @@
$LANGUAGE['date_format'] = '[D].[M].[Y]';
#===============================================================================
+# Theme color switch
+#===============================================================================
+$LANGUAGE['bright_colors'] = 'Helle Farben';
+$LANGUAGE['dark_colors'] = 'Dunkle Farben';
+
+#===============================================================================
# Item last text
#===============================================================================
$LANGUAGE['last_post'] = 'Letzter Post';
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
@@ -14,6 +14,12 @@
$LANGUAGE['date_format'] = '[Y]-[M]-[D]';
#===============================================================================
+# Theme color switch
+#===============================================================================
+$LANGUAGE['bright_colors'] = 'Bright colors';
+$LANGUAGE['dark_colors'] = 'Dark colors';
+
+#===============================================================================
# Item last text
#===============================================================================
$LANGUAGE['last_post'] = 'Last post';