From 5bf388e0623a744fed93b7cf7182fe0b3c0ba02e Mon Sep 17 00:00:00 2001 From: R3D347HR4Y Date: Wed, 20 May 2026 18:29:40 +0200 Subject: [PATCH] xs colors --- app/globals.css | 18 ++++++++++++++++++ .../gmail/email-list/email-list-toolbar.tsx | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/app/globals.css b/app/globals.css index 0a87624..54c3d90 100644 --- a/app/globals.css +++ b/app/globals.css @@ -125,6 +125,24 @@ --sidebar-ring: oklch(0.439 0 0); } +/* ── Mobile dark : fonds plus sombres (main, mail-list, preview) ── */ +@media (max-width: 639px) { + .dark { + --app-canvas: #111113; + --mail-surface: #161618; + --mail-surface-elevated: #1e1e21; + --mail-surface-muted: #262629; + --mail-border-subtle: #2c2c2f; + --mail-list-divider: #2c2c2f; + --mail-row-unread: #161618; + --mail-row-read: #1c1c1f; + --mail-row-selected: #1c2d4a; + --mail-row-active-split: #1c2d4a; + --mail-hover: #222225; + --mail-active: #1c2d4a; + } +} + @theme inline { --font-sans: 'Geist', 'Geist Fallback'; --font-mono: 'Geist Mono', 'Geist Mono Fallback'; diff --git a/components/gmail/email-list/email-list-toolbar.tsx b/components/gmail/email-list/email-list-toolbar.tsx index feffa3e..2928f37 100644 --- a/components/gmail/email-list/email-list-toolbar.tsx +++ b/components/gmail/email-list/email-list-toolbar.tsx @@ -567,7 +567,7 @@ const mailPaginationControls = (mode: "list" | "view") => ( return ( <> {part !== "list" && !isViewMode && ( -
+

{mobileFolderLabel} @@ -1051,7 +1051,7 @@ const mailPaginationControls = (mode: "list" | "view") => (

{selectedFolder === "inbox" && ( -
+
{listToolbarMode && (compactInboxTabs ? (