From f4b527e70b74a0061d57ff9b16c6559f503b3fac Mon Sep 17 00:00:00 2001 From: Yusuf Suleman Date: Sat, 4 Apr 2026 10:40:45 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20increase=20surface=20contrast=20?= =?UTF-8?q?=E2=80=94=20cards=20now=20clearly=20separate=20from=20backgroun?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dark mode: Canvas: #1a1714 → #0e0d0b (deeper black, more separation) Card: #26231f → #1e1b17 (warmer, 7% brighter than bg) Light mode: Canvas: #F5EFE6 → #EDE6DA (cooler sand, slightly darker) Card: #FFFCF8 → #FFFFFF (clean white, max contrast) Both modes now have ~7% brightness gap + temperature contrast (warm bg, cleaner card). Cards visually float without needing borders. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../Platform/Shared/Extensions/Color+Extensions.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ios/Platform/Platform/Shared/Extensions/Color+Extensions.swift b/ios/Platform/Platform/Shared/Extensions/Color+Extensions.swift index 4f102fd..a5eb869 100644 --- a/ios/Platform/Platform/Shared/Extensions/Color+Extensions.swift +++ b/ios/Platform/Platform/Shared/Extensions/Color+Extensions.swift @@ -4,8 +4,8 @@ extension Color { // MARK: - Canvas / Background (adaptive light/dark) static let canvas = Color(UIColor { traits in traits.userInterfaceStyle == .dark - ? UIColor(red: 0.10, green: 0.09, blue: 0.08, alpha: 1) // warm dark - : UIColor(red: 0.96, green: 0.94, blue: 0.90, alpha: 1) // #F5EFE6 + ? UIColor(red: 0.055, green: 0.05, blue: 0.04, alpha: 1) // #0e0d0b — deep warm black + : UIColor(red: 0.93, green: 0.90, blue: 0.855, alpha: 1) // #EDE6DA — warm sand }) // MARK: - Accent @@ -19,8 +19,8 @@ extension Color { // MARK: - Surfaces (adaptive) static let surfaceCard = Color(UIColor { traits in traits.userInterfaceStyle == .dark - ? UIColor(red: 0.15, green: 0.14, blue: 0.13, alpha: 1) // warm dark card - : UIColor(red: 1.0, green: 0.988, blue: 0.973, alpha: 1) // warm white + ? UIColor(red: 0.12, green: 0.11, blue: 0.09, alpha: 1) // #1e1b17 — warm dark card + : UIColor(red: 1.0, green: 1.0, blue: 1.0, alpha: 1) // #FFFFFF — clean white }) static let surfaceSheet = Color(UIColor { traits in traits.userInterfaceStyle == .dark