From c8a16a622e7a2aa42ab7f11870efb784cdc06163 Mon Sep 17 00:00:00 2001 From: WanQuanXie Date: Tue, 28 May 2024 10:55:52 +0800 Subject: [PATCH] update(ui): remove light-300 color level --- ui/components/MessageInputActions.tsx | 2 +- ui/components/SearchImages.tsx | 2 +- ui/components/SearchVideos.tsx | 2 +- ui/components/SettingsDialog.tsx | 6 +++--- ui/tailwind.config.ts | 3 +-- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/ui/components/MessageInputActions.tsx b/ui/components/MessageInputActions.tsx index ec19a8b..ee21e2d 100644 --- a/ui/components/MessageInputActions.tsx +++ b/ui/components/MessageInputActions.tsx @@ -109,7 +109,7 @@ export const Focus = ({ leaveTo="opacity-0 translate-y-1" > -
+
{focusModes.map((mode, i) => ( setFocusMode(mode.key)} diff --git a/ui/components/SearchImages.tsx b/ui/components/SearchImages.tsx index 5cca470..a01fd42 100644 --- a/ui/components/SearchImages.tsx +++ b/ui/components/SearchImages.tsx @@ -62,7 +62,7 @@ const SearchImages = ({ ); setLoading(false); }} - className="border border-dashed border-light-300 dark:border-dark-200 hover:bg-light-secondary dark:hover:bg-dark-secondary active:scale-95 duration-200 transition px-4 py-2 flex flex-row items-center justify-between rounded-lg dark:text-white text-sm w-full" + className="border border-dashed border-light-200 dark:border-dark-200 hover:bg-light-secondary dark:hover:bg-dark-secondary active:scale-95 duration-200 transition px-4 py-2 flex flex-row items-center justify-between rounded-lg dark:text-white text-sm w-full" >
diff --git a/ui/components/SearchVideos.tsx b/ui/components/SearchVideos.tsx index b2ca185..a284bea 100644 --- a/ui/components/SearchVideos.tsx +++ b/ui/components/SearchVideos.tsx @@ -77,7 +77,7 @@ const Searchvideos = ({ ); setLoading(false); }} - className="border border-dashed border-light-300 dark:border-dark-200 hover:bg-light-secondary dark:hover:bg-dark-secondary active:scale-95 duration-200 transition px-4 py-2 flex flex-row items-center justify-between rounded-lg dark:text-white text-sm w-full" + className="border border-dashed border-light-200 dark:border-dark-200 hover:bg-light-secondary dark:hover:bg-dark-secondary active:scale-95 duration-200 transition px-4 py-2 flex flex-row items-center justify-between rounded-lg dark:text-white text-sm w-full" >
diff --git a/ui/components/SettingsDialog.tsx b/ui/components/SettingsDialog.tsx index 046cfd8..8ae4901 100644 --- a/ui/components/SettingsDialog.tsx +++ b/ui/components/SettingsDialog.tsx @@ -16,7 +16,7 @@ function Input({ className, ...restProps }: InputProps) { @@ -32,7 +32,7 @@ function Select({ className, options, ...restProps }: SelectProps) {