From 24701354b68761d41c482b6e8a79832e2c0adfde Mon Sep 17 00:00:00 2001 From: a-wing <1@233.email> Date: Thu, 11 Jan 2024 01:20:46 +0800 Subject: [PATCH] refactor(webapp): change svg ico color style --- vite.config.ts | 2 +- webapp/components/device.tsx | 6 +++--- webapp/components/layout.tsx | 21 +++++++++++---------- webapp/components/svg/audio.tsx | 4 ++-- webapp/components/svg/done.tsx | 2 +- webapp/components/svg/end.tsx | 2 +- webapp/components/svg/present.tsx | 4 ++-- webapp/components/svg/video.tsx | 2 +- 8 files changed, 22 insertions(+), 21 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 3995f08..31c9578 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -22,7 +22,7 @@ export default defineConfig({ UnoCSS({ shortcuts: [ { logo: 'i-logos-react w-6em h-6em transform transition-800 hover:rotate-180' }, - { 'btn-primary': "py-2 px-4 bg-blue-500 text-white font-bold rounded-lg shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 disabled:pointer-events-none disabled:bg-slate-300" }, + { 'btn-primary': "py-2 px-4 bg-blue-500 duration-500 text-white font-bold rounded-lg shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 disabled:pointer-events-none disabled:bg-slate-300" }, ], presets: [ presetUno(), diff --git a/webapp/components/device.tsx b/webapp/components/device.tsx index 3d348c4..e0d1dd2 100644 --- a/webapp/components/device.tsx +++ b/webapp/components/device.tsx @@ -193,7 +193,7 @@ export default function DeviceBar() {
-
- - {copyStatus - ?
+
+
-
-