From 6e41e284b56c794727dd1edd627cf15c50a2d868 Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Tue, 16 Apr 2024 11:02:38 +0200 Subject: [PATCH] Fix light theme --- resources/js/assets/app.scss | 7 ++++ resources/js/components/AccessLogViewer.vue | 37 +++++++++++--------- resources/js/components/QrContentDisplay.vue | 5 +-- resources/js/views/Start.vue | 5 +-- resources/lang/en/admin.php | 6 ++-- 5 files changed, 32 insertions(+), 28 deletions(-) diff --git a/resources/js/assets/app.scss b/resources/js/assets/app.scss index a4b8259f..74bcfad5 100644 --- a/resources/js/assets/app.scss +++ b/resources/js/assets/app.scss @@ -1390,4 +1390,11 @@ footer.main .field.is-grouped { top: 4px; width: 29px; height: 29px; +} + +.light-or-darker { + color: $grey-darker; +} +:root[data-theme="dark"] .light-or-darker { + color: $grey-light; } \ No newline at end of file diff --git a/resources/js/components/AccessLogViewer.vue b/resources/js/components/AccessLogViewer.vue index 21747d4b..245652f8 100644 --- a/resources/js/components/AccessLogViewer.vue +++ b/resources/js/components/AccessLogViewer.vue @@ -4,6 +4,7 @@ import Spinner from '@/components/Spinner.vue' import { useNotifyStore } from '@/stores/notify' import { FontAwesomeLayers } from '@fortawesome/vue-fontawesome' + import { UseColorMode } from '@vueuse/components' const notify = useNotifyStore() @@ -153,26 +154,28 @@
-
+
- - - +
+ + + +
+
+ {{ $t('commons.IP') }}: {{ authentication.ip_address }} - + {{ $t('commons.browser') }}: {{ authentication.browser }} - + {{ $t('commons.operating_system_short') }}: {{ authentication.platform }} +
-
- {{ $t('commons.IP') }}: {{ authentication.ip_address }} - - {{ $t('commons.browser') }}: {{ authentication.browser }} - - {{ $t('commons.operating_system_short') }}: {{ authentication.platform }} +
+ + + +
-
-
- - - - -
+
diff --git a/resources/js/components/QrContentDisplay.vue b/resources/js/components/QrContentDisplay.vue index 23a80791..27b6fd16 100644 --- a/resources/js/components/QrContentDisplay.vue +++ b/resources/js/components/QrContentDisplay.vue @@ -1,7 +1,6 @@