From d1ff709400758abf37c26a98b62997f09d133bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Mon, 17 Nov 2025 17:16:24 +0100 Subject: [PATCH] fix: improve info box readability in EditControls and HistoryControls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enhanced info boxes with better contrast and visibility: - Increased background opacity from /10 to /90 for blue info boxes - Changed to thicker border (border-2) for better definition - Changed text color to white for better contrast on blue background - Applied consistent styling across: * Selection Active info box (EditControls) * History Available info box (HistoryControls) Info boxes are now clearly readable in both light and dark modes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- components/editor/EditControls.tsx | 12 ++++++------ components/editor/HistoryControls.tsx | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/components/editor/EditControls.tsx b/components/editor/EditControls.tsx index 0807342..e690c6f 100644 --- a/components/editor/EditControls.tsx +++ b/components/editor/EditControls.tsx @@ -37,17 +37,17 @@ export function EditControls({
{/* Selection Info */} {hasSelection && ( -
+
- -
-

Selection Active

-

+ +

+

Selection Active

+

Duration: {formatDuration(selectionDuration)} | Start: {formatDuration(selection.start)} | End: {formatDuration(selection.end)}

-

+

Tip: Hold Shift and drag on the waveform to select a region

diff --git a/components/editor/HistoryControls.tsx b/components/editor/HistoryControls.tsx index 5251756..bbda2f9 100644 --- a/components/editor/HistoryControls.tsx +++ b/components/editor/HistoryControls.tsx @@ -25,21 +25,21 @@ export function HistoryControls({
{/* History Info */} {historyState.historySize > 0 && ( -
+
- -
-

History Available

-

+ +

+

History Available

+

{historyState.historySize} action{historyState.historySize !== 1 ? 's' : ''} in history

{historyState.undoDescription && ( -

+

Next undo: {historyState.undoDescription}

)} {historyState.redoDescription && ( -

+

Next redo: {historyState.redoDescription}

)}