From 5e1f780fffb9ab72d9a0a8e12614a85a213c3744 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Wed, 9 Jul 2025 21:45:25 +0200 Subject: [PATCH] style: completely fresh ui in editor --- apps/web/src/app/editor/[project_id]/page.tsx | 7 +++---- apps/web/src/app/globals.css | 4 +++- apps/web/src/components/editor-header.tsx | 6 +++--- apps/web/src/components/editor/media-panel/index.tsx | 2 +- apps/web/src/components/editor/media-panel/tabbar.tsx | 4 ++-- .../src/components/editor/media-panel/views/media.tsx | 2 +- apps/web/src/components/editor/preview-panel.tsx | 9 +++++---- apps/web/src/components/editor/properties-panel.tsx | 2 +- apps/web/src/components/editor/timeline.tsx | 8 ++++---- apps/web/src/components/ui/button.tsx | 2 +- apps/web/src/components/ui/resizable.tsx | 7 +------ apps/web/tailwind.config.ts | 7 ++++++- 12 files changed, 31 insertions(+), 29 deletions(-) diff --git a/apps/web/src/app/editor/[project_id]/page.tsx b/apps/web/src/app/editor/[project_id]/page.tsx index 7de30de..14dc5af 100644 --- a/apps/web/src/app/editor/[project_id]/page.tsx +++ b/apps/web/src/app/editor/[project_id]/page.tsx @@ -58,7 +58,7 @@ export default function Editor() {
- + {/* Tools Panel */} - diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css index 1d41696..5e7c225 100644 --- a/apps/web/src/app/globals.css +++ b/apps/web/src/app/globals.css @@ -39,7 +39,7 @@ --sidebar-ring: 0 0% 3.9%; } .dark { - --background: 0 0% 8%; + --background: 0 0% 4%; --foreground: 0 0% 89%; --card: 0 0% 14.9%; --card-foreground: 0 0% 98%; @@ -71,6 +71,8 @@ --sidebar-accent-foreground: 0 0% 98%; --sidebar-border: 0 0% 14.9%; --sidebar-ring: 0 0% 83.1%; + --panel-background: 0 0% 11%; + --panel-accent: 0 0% 15%; } } diff --git a/apps/web/src/components/editor-header.tsx b/apps/web/src/components/editor-header.tsx index daeb14c..666ddae 100644 --- a/apps/web/src/components/editor-header.tsx +++ b/apps/web/src/components/editor-header.tsx @@ -30,14 +30,14 @@ export function EditorHeader() { ); const centerContent = ( -
+
{formatTimeCode(getTotalDuration(), "HH:MM:SS:CS")}
); const rightContent = (