From 99bce5c4efdb63f3caa86147f3005b8473a7cd71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B2=81=E6=A0=91=E4=BA=BA?= Date: Sat, 5 Jul 2025 01:13:39 +0900 Subject: [PATCH] fix: improve dark mode color --- src/components/FileInput.tsx | 4 ++-- src/components/InstructionsTabs.tsx | 13 ++++++++----- src/components/SDKVersion.tsx | 2 +- src/features/file-listing/FileError.tsx | 4 ++-- src/features/file-listing/FileRow.tsx | 2 +- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/components/FileInput.tsx b/src/components/FileInput.tsx index e80038c..7a094fa 100644 --- a/src/components/FileInput.tsx +++ b/src/components/FileInput.tsx @@ -18,9 +18,9 @@ export function FileInput({ children, onReceiveFiles }: FileInputProps) { {...getRootProps()} className={classnames( 'w-full max-w-xl border rounded-lg transition duration-500 p-6 border-base-300 mx-auto', - 'cursor-pointer flex flex-col items-center hover:border-gray-400 hover:bg-gray-50', + 'cursor-pointer flex flex-col items-center bg-base-200 hover:border-gray-400 hover:bg-gray-50 hover:dark:bg-gray-800', { - 'bg-blue-50 border-blue-700': isDragActive, + 'bg-blue-50 dark:bg-blue-900 border-blue-700': isDragActive, }, )} tabIndex={0} diff --git a/src/components/InstructionsTabs.tsx b/src/components/InstructionsTabs.tsx index 0b5289c..16ff69a 100644 --- a/src/components/InstructionsTabs.tsx +++ b/src/components/InstructionsTabs.tsx @@ -15,17 +15,20 @@ export interface InstructionsTabsProps { export function InstructionsTabs({ limitHeight = false, tabs }: InstructionsTabsProps) { const id = useId(); return ( -
+
{tabs.map(({ id: _tabId, label, content }, index) => ( -