From 2c6d05f0bef454d6eeba42ac12f3c69de1ebdc13 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 5 Mar 2025 15:12:05 +0800 Subject: [PATCH] feat: use unocss wind4 preset --- app/app.vue | 3 +- app/components/Counter.vue | 4 +- app/components/InputEntry.vue | 5 +- app/components/Logos.vue | 10 +- app/layouts/default.vue | 2 +- app/layouts/home.vue | 2 +- app/pages/hi/[id].vue | 6 +- app/pages/index.vue | 2 +- nuxt.config.ts | 4 - package.json | 9 +- pnpm-lock.yaml | 634 ++++++++++++++++------------------ uno.config.ts | 4 +- 12 files changed, 323 insertions(+), 362 deletions(-) diff --git a/app/app.vue b/app/app.vue index 3676dc2..c8d3c10 100644 --- a/app/app.vue +++ b/app/app.vue @@ -23,7 +23,6 @@ body, } html.dark { - background: #222; - color: white; + color-scheme: dark; } diff --git a/app/components/Counter.vue b/app/components/Counter.vue index f3793b5..2fabc92 100644 --- a/app/components/Counter.vue +++ b/app/components/Counter.vue @@ -4,13 +4,13 @@ const { count, inc, dec } = useCount()