From 3943614abbe452e5b48eb4f7738a203426fd938f Mon Sep 17 00:00:00 2001 From: Yakovenko Valeriia Date: Thu, 12 Mar 2026 11:57:35 +0100 Subject: [PATCH] fix: style --- bo/src/app.config.ts | 7 + bo/src/assets/main.css | 6 +- bo/src/components/TopBar.vue | 19 -- bo/src/components/TopBarLogin.vue | 2 +- bo/src/components/inner/langSwitch.vue | 2 +- bo/src/layouts/default.vue | 2 - bo/src/router/index.ts | 1 + bo/src/views/LoginView.vue | 14 +- bo/src/views/PasswordRecoveryView.vue | 6 +- bo/src/views/RegisterView.vue | 8 +- bo/src/views/RepoChartView.vue | 12 +- bo/src/views/ResetPasswordForm.vue | 4 +- bo/src/views/VerifyEmailView.vue | 2 +- bo/src/views/customer/ProductDetailView.vue | 308 ++++++++++++++++++++ bo/src/views/customer/ProductsView.vue | 116 ++++---- 15 files changed, 408 insertions(+), 101 deletions(-) create mode 100644 bo/src/views/customer/ProductDetailView.vue diff --git a/bo/src/app.config.ts b/bo/src/app.config.ts index 1378934..b9baa6c 100644 --- a/bo/src/app.config.ts +++ b/bo/src/app.config.ts @@ -42,6 +42,13 @@ export const uiOptions: NuxtUIOptions = { itemLeadingIcon: 'text-(--black)! dark:text-white!' } + }, + table: { + slots: { + base: 'border! border-(--border-light)! dark:border-(--border-dark)! outline-0! ring-0! bg-(--second-light) dark:bg-(--main-dark)', + tr: 'border-b! border-(--border-light)! dark:border-(--border-dark)! outline-0! ring-0! text-(--black)! dark:text-white!', + } + } } } \ No newline at end of file diff --git a/bo/src/assets/main.css b/bo/src/assets/main.css index f0dbdeb..56c84e3 100644 --- a/bo/src/assets/main.css +++ b/bo/src/assets/main.css @@ -22,14 +22,16 @@ body { --black: #1A1A1A; /* gray */ - --gray: #6B6B6B; - --gray-dark: #A3A3A3; + --gray: #E5E7EB; + --gray-dark: #6B7280; /* borders */ --border-light: #E8E7E0; --border-dark: #3F3E3D; /* text */ + --accent-blue-dark: #3B82F6; + --accent-blue-light:#2563EB; --text-dark: #FFFEFB; /* placeholder */ diff --git a/bo/src/components/TopBar.vue b/bo/src/components/TopBar.vue index e9268a4..e8fa41b 100644 --- a/bo/src/components/TopBar.vue +++ b/bo/src/components/TopBar.vue @@ -18,25 +18,6 @@ const authStore = useAuthStore() TimeTracker - - - -
diff --git a/bo/src/components/TopBarLogin.vue b/bo/src/components/TopBarLogin.vue index c814e11..129a58e 100644 --- a/bo/src/components/TopBarLogin.vue +++ b/bo/src/components/TopBarLogin.vue @@ -8,7 +8,7 @@ const authStore = useAuthStore()