From fc37508076a710f2de415a9ead0aebe4ad3eaa6b Mon Sep 17 00:00:00 2001 From: flm Date: Wed, 21 Aug 2024 21:57:37 +0800 Subject: [PATCH] style: support dark mode --- uno.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uno.config.ts b/uno.config.ts index 657a19f..815e604 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -12,7 +12,7 @@ import { export default defineConfig({ shortcuts: [ ['btn', 'px-4 py-1 rounded inline-block bg-teal-600 text-white cursor-pointer hover:bg-teal-700 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'], - ['icon-btn', 'inline-flex items-center gap-2 bg-black text-white rounded-md py-2 px-3 cursor-pointer select-none transition duration-200 ease-in-out hover:opacity-100 hover:bg-black/80 text-sm'], + ['icon-btn', 'inline-flex items-center gap-2 bg-black text-white rounded-md py-2 px-3 cursor-pointer select-none transition duration-200 ease-in-out hover:opacity-100 hover:bg-black/80 text-sm dark:text-black dark:bg-white hover:dark:bg-white/80'], ], presets: [ presetUno(),