From 94d4b16d99f12667261c86fc4ff161b5d90427c3 Mon Sep 17 00:00:00 2001 From: Taylor Ho Date: Wed, 1 Apr 2026 22:11:17 -0700 Subject: [PATCH] fix: use accent color for text selection highlight Previously there was no custom selection style, making text selection hard to see in the dark theme. Now uses the user's accent color at 60% opacity so selections are visible and theme-aware. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/shared/styles/globals.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/shared/styles/globals.css b/src/shared/styles/globals.css index 8094e8e..a1fe3f0 100644 --- a/src/shared/styles/globals.css +++ b/src/shared/styles/globals.css @@ -260,6 +260,11 @@ } } +::selection { + background: color-mix(in srgb, var(--color-brand) 60%, transparent); + color: #ffffff; +} + .content-fade-in { animation: content-fade-in 0.3s ease-out forwards; }