From 60aff695fe2df65250b061cdac0b860ec46fdae6 Mon Sep 17 00:00:00 2001 From: Matthieu MALVACHE Date: Thu, 8 Jan 2026 01:01:37 +0100 Subject: [PATCH] fix(email-composer): Improve readability and add discard button - Fix textarea colors for proper theme support (light/dark mode) - Fix modal height to prevent composer from collapsing - Add explicit "Discard" button in footer for better UX - Fix hardcoded colors in attachments section for theme support - Use translations for all user-facing text Closes #6 --- app/[locale]/page.tsx | 2 +- components/email/email-composer.tsx | 34 +++++++++++++++++++---------- locales/en/common.json | 3 ++- locales/fr/common.json | 3 ++- 4 files changed, 27 insertions(+), 15 deletions(-) diff --git a/app/[locale]/page.tsx b/app/[locale]/page.tsx index f585000..f7f30bf 100644 --- a/app/[locale]/page.tsx +++ b/app/[locale]/page.tsx @@ -810,7 +810,7 @@ export default function Home() { {showComposer && (
-

New Message

+

{t('new_message')}

{saveStatus === 'saving' && (
@@ -395,9 +395,9 @@ export function EmailComposer({
-
+