From d453ae9f2b4a0aa49da7713a5de94bdc6a81afd9 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Thu, 13 Apr 2023 12:41:12 +0200 Subject: [PATCH] use brand for highlight (#8240) --- apps/web/styles/globals.css | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css index 7290c1e523..6a0f9aab88 100644 --- a/apps/web/styles/globals.css +++ b/apps/web/styles/globals.css @@ -85,8 +85,14 @@ --cal-brand-text: black; } -dark::selection { - background: var(--cal-bg-subtle); +::-moz-selection { + color: var(--cal-brand-text); + background: var(--cal-brand); +} + +::selection { + color: var(--cal-brand-text); + background: var(--cal-brand); } body  { @@ -270,17 +276,6 @@ select:focus { } } -/* !important to style multi-email input */ -::-moz-selection { - color: white; - background: black; -} - -::selection { - color: white; - background: black; -} - /* hide chat bubble on mobile */ @media only screen and (max-width: 768px) { /* Intercom FAB*/