From 3aa5d3bb30b73060a016adaed32a14259fb9b901 Mon Sep 17 00:00:00 2001 From: Joduai <4009106+Joduai@users.noreply.github.com> Date: Wed, 16 Oct 2024 19:38:43 +0000 Subject: [PATCH 1/4] Add files via upload --- config/config.ini.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.ini.example b/config/config.ini.example index 77233f1e..7c3b7be9 100644 --- a/config/config.ini.example +++ b/config/config.ini.example @@ -203,5 +203,5 @@ views.root = "themes/twentysixteen" ; Framework config. No need to edit. views.layout = "layout" -; Admin theme: light or dark mode -admin.theme = "dark" \ No newline at end of file +; Admin theme mode: light or dark +admin.theme = "light" \ No newline at end of file From f67d21f213b67758ae35b14a1437e78d4bc45a61 Mon Sep 17 00:00:00 2001 From: Joduai <4009106+Joduai@users.noreply.github.com> Date: Wed, 16 Oct 2024 19:39:09 +0000 Subject: [PATCH 2/4] Add files via upload --- lang/en_US.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/en_US.ini b/lang/en_US.ini index 452b2475..0c988f3a 100644 --- a/lang/en_US.ini +++ b/lang/en_US.ini @@ -321,4 +321,6 @@ msg_error_field_req_feedurl = "You need to specify the feed url." rss_feeds_description_select = "RSS Description" rss_description_body = "Post Body" rss_description_meta = "Post Meta Description" -admin_theme = "Admin theme" \ No newline at end of file +admin_theme = "Admin theme" +admin_theme_light = "Light" +admin_theme_dark = "Dark" \ No newline at end of file From e545f0fd2d4dae025e8912a42ebb5d631ead1f0b Mon Sep 17 00:00:00 2001 From: Joduai <4009106+Joduai@users.noreply.github.com> Date: Wed, 16 Oct 2024 19:42:11 +0000 Subject: [PATCH 3/4] Add files via upload --- system/admin/editor/css/editor.css | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/system/admin/editor/css/editor.css b/system/admin/editor/css/editor.css index e1ad6803..580172f0 100644 --- a/system/admin/editor/css/editor.css +++ b/system/admin/editor/css/editor.css @@ -18,10 +18,14 @@ blockquote { margin-bottom: 10px; width: 100%; border: 1px solid #CFDAE5; + border-radius:5px; display: block; float: left; } - +.dark-mode .wmd-button-bar { + background-color: #292d32; + border-color: #292d32 !important; +} .wmd-button-bar:hover { border: 1px solid #CCCCCC; } @@ -77,10 +81,19 @@ blockquote { .wmd-button > span { background-repeat: no-repeat; background-position: 0px 0px; - display: inline-block; } +.dark-mode .wmd-button > span.btn-light { + color: #fff; + background-color: #292d32; + border-color: #292d32; + box-shadow: none; +} +.dark-mode .wmd-button > span.btn-light:not(.disabled):hover { + background-color: #171a1d; + border-color: #343a40; +} .wmd-spacer1 { left: 50px; } From 7ad1f1f3052724a37a5c79313e92c3bb698db51c Mon Sep 17 00:00:00 2001 From: Joduai <4009106+Joduai@users.noreply.github.com> Date: Wed, 16 Oct 2024 19:43:06 +0000 Subject: [PATCH 4/4] Add files via upload --- system/admin/views/add-content.html.php | 4 ++-- system/admin/views/add-page.html.php | 4 ++-- system/admin/views/config.html.php | 4 ++-- system/admin/views/edit-content.html.php | 4 ++-- system/admin/views/edit-page.html.php | 4 ++-- system/admin/views/layout.html.php | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/system/admin/views/add-content.html.php b/system/admin/views/add-content.html.php index 68c19375..a36b9806 100644 --- a/system/admin/views/add-content.html.php +++ b/system/admin/views/add-content.html.php @@ -88,7 +88,7 @@ function extractLast( term ) {
-
+
@@ -178,7 +178,7 @@ function extractLast( term ) {
- +
diff --git a/system/admin/views/add-page.html.php b/system/admin/views/add-page.html.php index 3231c289..db8fa36e 100644 --- a/system/admin/views/add-page.html.php +++ b/system/admin/views/add-page.html.php @@ -14,7 +14,7 @@
-
+
@@ -36,7 +36,7 @@
- +
diff --git a/system/admin/views/config.html.php b/system/admin/views/config.html.php index 395fc308..d8998e6e 100644 --- a/system/admin/views/config.html.php +++ b/system/admin/views/config.html.php @@ -176,13 +176,13 @@
checked>
checked>
diff --git a/system/admin/views/edit-content.html.php b/system/admin/views/edit-content.html.php index f800796c..462bdddb 100644 --- a/system/admin/views/edit-content.html.php +++ b/system/admin/views/edit-content.html.php @@ -133,7 +133,7 @@ function extractLast( term ) {
-
+
@@ -224,7 +224,7 @@ function extractLast( term ) {
- +
diff --git a/system/admin/views/edit-page.html.php b/system/admin/views/edit-page.html.php index 90e4bc0c..54cf9a59 100644 --- a/system/admin/views/edit-page.html.php +++ b/system/admin/views/edit-page.html.php @@ -97,7 +97,7 @@
-
+
@@ -137,7 +137,7 @@
- +
diff --git a/system/admin/views/layout.html.php b/system/admin/views/layout.html.php index 04aa9269..2941b403 100644 --- a/system/admin/views/layout.html.php +++ b/system/admin/views/layout.html.php @@ -31,7 +31,7 @@ ">
- +