From f4f5e47e48c7f3b942f20c0d4752bb04700bf924 Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Tue, 16 Sep 2025 17:46:34 +0800 Subject: [PATCH] Refactor file window components to use shadcn design tokens MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace hardcoded colors with shadcn CSS variables in DraggableWindow - Update FileViewer to use proper shadcn theme colors - Switch from gray-* to muted/foreground/background tokens - Improve dark mode compatibility and visual consistency - Maintain all existing functionality with better theming support 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../components/DraggableWindow.tsx | 12 +++---- .../File Manager/components/FileViewer.tsx | 34 +++++++++---------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/ui/Desktop/Apps/File Manager/components/DraggableWindow.tsx b/src/ui/Desktop/Apps/File Manager/components/DraggableWindow.tsx index 7a30a806..19c3e3f7 100644 --- a/src/ui/Desktop/Apps/File Manager/components/DraggableWindow.tsx +++ b/src/ui/Desktop/Apps/File Manager/components/DraggableWindow.tsx @@ -150,7 +150,7 @@ export function DraggableWindow({
{onMinimize && (