Fix disabled save button styling in dark mode

- Changed disabled save button background from light grey to dark grey in dark mode
- Changed disabled save button text from grey-400 to grey-500 in dark mode
- Button now blends better with dark mode design
- No longer draws unwanted attention when disabled
This commit is contained in:
drelich
2026-03-17 00:27:01 +01:00
parent a2c717c2e2
commit c7f314d632

View File

@@ -159,7 +159,7 @@ export function NoteEditor({ note, onUpdateNote, fontSize }: NoteEditorProps) {
className={`p-2 rounded-lg transition-colors ${ className={`p-2 rounded-lg transition-colors ${
hasUnsavedChanges && !isSaving hasUnsavedChanges && !isSaving
? 'bg-blue-500 text-white hover:bg-blue-600' ? 'bg-blue-500 text-white hover:bg-blue-600'
: 'bg-gray-200 text-gray-400 cursor-not-allowed' : 'bg-gray-200 dark:bg-gray-700 text-gray-400 dark:text-gray-500 cursor-not-allowed'
}`} }`}
title="Save Note" title="Save Note"
> >