From bab25eeb55111dfac9995009d0c2563e1b0d9a33 Mon Sep 17 00:00:00 2001 From: Saeid Doroudi Date: Sun, 21 Jan 2024 10:56:57 +0330 Subject: [PATCH] dark mode should be improved Fixes #11 --- src/App.vue | 3 ++- src/common/theme/theme-overrides.ts | 2 -- src/components.d.ts | 7 +++++++ src/components/Sidebar.vue | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/App.vue b/src/App.vue index 3a3e937..041effa 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,6 +6,7 @@ import { messageRtl } from 'naive-ui/es/message/styles' import { tableRtl } from 'naive-ui/es/table/styles' import scrollbarRtl from 'naive-ui/es/_internal/scrollbar/styles/rtl' import { tagRtl } from 'naive-ui/es/tag/styles' +import { darkTheme, lightTheme } from 'naive-ui' import themeOverrides from '~/common/theme/theme-overrides' const layout = useLayoutStore() @@ -52,7 +53,7 @@ watch(() => layout.activeLanguage, () => {