From 210282db83b001fc792b5b67982ded4b29772027 Mon Sep 17 00:00:00 2001 From: zhangmo8 Date: Fri, 11 Oct 2024 19:49:35 +0800 Subject: [PATCH] style: optimize header --- playground/src/components/Header.vue | 48 +++++++++++++++------------- playground/uno.config.ts | 1 + 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/playground/src/components/Header.vue b/playground/src/components/Header.vue index baf5d49..893be7a 100644 --- a/playground/src/components/Header.vue +++ b/playground/src/components/Header.vue @@ -1,27 +1,29 @@ diff --git a/playground/uno.config.ts b/playground/uno.config.ts index a3b7869..f2e847d 100644 --- a/playground/uno.config.ts +++ b/playground/uno.config.ts @@ -18,6 +18,7 @@ export default defineConfig({ 'btn': 'inline-flex items-center justify-center w-full h-12 rd-md', 'btn-outline': 'btn b bg-transparent', 'btn-ghost': 'btn bg-transparent transition', + 'nav-bg': 'backdrop-blur-12 rd-2 shadow-xl bg-primary-bg/45', }, presets: [ presetUseful({