From a6d1797a4f8ac04fe0f7ad269a0de5548588da7f Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 15 Jan 2025 16:31:10 +0100 Subject: [PATCH] add lightmode --- dashboard/app.vue | 4 +- dashboard/components/BarCard/Base.vue | 25 ++++--- dashboard/components/CardTitled.vue | 4 +- dashboard/components/CustomTab.vue | 4 +- dashboard/components/FirstInteraction.vue | 2 +- dashboard/components/LyxUi/Button.vue | 16 ++-- dashboard/components/LyxUi/Card.vue | 2 +- dashboard/components/LyxUi/Input.vue | 2 +- dashboard/components/SelectButton.vue | 8 +- .../components/dashboard/ActionableChart.vue | 6 +- dashboard/components/dashboard/CountCard.vue | 6 +- .../components/dashboard/DialogBarCard.vue | 4 +- .../components/dialog/CreateSnapshot.vue | 2 +- dashboard/components/dialog/Feedback.vue | 4 +- .../events/EventsMetadataAnalyzer.vue | 16 ++-- .../components/events/EventsUserFlow.vue | 12 +-- dashboard/components/home/BgGrid.vue | 73 ++----------------- dashboard/components/settings/Account.vue | 4 +- dashboard/components/settings/Data.vue | 20 ++--- dashboard/components/settings/Template.vue | 6 +- dashboard/components/settings/billing.vue | 22 +++--- dashboard/layouts/dashboard.vue | 2 +- dashboard/pages/analyst.vue | 22 +++--- dashboard/pages/dashboard/events.vue | 24 +++--- dashboard/pages/dashboard/visits.vue | 20 ++--- dashboard/pages/project_creation.vue | 16 ++-- dashboard/pages/security.vue | 6 +- 27 files changed, 147 insertions(+), 185 deletions(-) diff --git a/dashboard/app.vue b/dashboard/app.vue index 3e27854..cdb2a85 100644 --- a/dashboard/app.vue +++ b/dashboard/app.vue @@ -56,8 +56,8 @@ const { drawerVisible, hideDrawer, drawerClasses } = useDrawer();
-
+ class="custom-dialog w-full h-full flex items-center justify-center lg:pl-32 lg:p-20 p-4 absolute left-0 top-0 z-[100] backdrop-blur-[2px] dark:bg-black/50"> +
diff --git a/dashboard/components/BarCard/Base.vue b/dashboard/components/BarCard/Base.vue index 5c875da..b248bf8 100644 --- a/dashboard/components/BarCard/Base.vue +++ b/dashboard/components/BarCard/Base.vue @@ -54,7 +54,7 @@ function openExternalLink(link: string) {
-
+
{{ label }}
@@ -63,7 +63,7 @@ function openExternalLink(link: string) {
-
+
{{ desc }}
@@ -81,7 +81,8 @@ function openExternalLink(link: string) {
-
+
-
@@ -119,24 +120,28 @@ function openExternalLink(link: string) {
- + {{ elementTextTransformer?.(element._id) || element._id }}
-
{{ - formatNumberK(element.count) }}
+
+ {{ + formatNumberK(element.count) }}
No data yet
-
+ + Show more -
+ +
diff --git a/dashboard/components/CardTitled.vue b/dashboard/components/CardTitled.vue index adacf37..89c22f5 100644 --- a/dashboard/components/CardTitled.vue +++ b/dashboard/components/CardTitled.vue @@ -9,10 +9,10 @@ const props = defineProps<{ title: string, sub?: string }>();
-
+
{{ props.title }}
-
+
{{ props.sub }}
diff --git a/dashboard/components/CustomTab.vue b/dashboard/components/CustomTab.vue index 93a5590..5c9ca1a 100644 --- a/dashboard/components/CustomTab.vue +++ b/dashboard/components/CustomTab.vue @@ -11,9 +11,9 @@ const activeTabIndex = ref(0);
{{ tab.label }}
diff --git a/dashboard/components/FirstInteraction.vue b/dashboard/components/FirstInteraction.vue index e224c9f..5bab86a 100644 --- a/dashboard/components/FirstInteraction.vue +++ b/dashboard/components/FirstInteraction.vue @@ -67,7 +67,7 @@ function reloadPage() {
-
+
Waiting for your first visit
diff --git a/dashboard/components/LyxUi/Button.vue b/dashboard/components/LyxUi/Button.vue index 7b9eb91..f2b3c95 100644 --- a/dashboard/components/LyxUi/Button.vue +++ b/dashboard/components/LyxUi/Button.vue @@ -8,14 +8,18 @@ const props = defineProps<{ type: ButtonType, link?: string, target?: string, di