From 1d9d71214b025eef6eb60dc39e70a9928798c2a0 Mon Sep 17 00:00:00 2001 From: Saeid Doroudi Date: Sun, 15 Dec 2024 10:29:56 +0330 Subject: [PATCH] :lipstick: improve design --- src/components.d.ts | 3 +++ src/components/Card.vue | 3 ++- src/components/DashboardCard.vue | 4 ++-- src/components/Sidebar.vue | 2 +- src/styles/main.scss | 6 ++++-- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/components.d.ts b/src/components.d.ts index 324e0c3..d88b6b0 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -42,8 +42,11 @@ declare module 'vue' { NDrawer: typeof import('naive-ui')['NDrawer'] NDrawerContent: typeof import('naive-ui')['NDrawerContent'] NDropdown: typeof import('naive-ui')['NDropdown'] + NGlobalStyle: typeof import('naive-ui')['NGlobalStyle'] NIcon: typeof import('naive-ui')['NIcon'] + NInput: typeof import('naive-ui')['NInput'] NLayout: typeof import('naive-ui')['NLayout'] + NLayoutContent: typeof import('naive-ui')['NLayoutContent'] NLayoutSider: typeof import('naive-ui')['NLayoutSider'] NMenu: typeof import('naive-ui')['NMenu'] NMessageProvider: typeof import('naive-ui')['NMessageProvider'] diff --git a/src/components/Card.vue b/src/components/Card.vue index 1604b52..4cb3470 100644 --- a/src/components/Card.vue +++ b/src/components/Card.vue @@ -6,6 +6,7 @@ defineProps({ title: { type: String, required: false }, }) const slots = useSlots() +const layout = useLayoutStore()