From 1f9d3be2a68742d3c4e7df304c63d6ac28a3f1cd Mon Sep 17 00:00:00 2001 From: Wanjohi <71614375+wanjohiryan@users.noreply.github.com> Date: Sat, 31 Aug 2024 22:00:09 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Use=20better=20contrast?= =?UTF-8?q?=20for=20selection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/globals.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/ui/globals.css b/packages/ui/globals.css index e6610d33..b844f5ed 100644 --- a/packages/ui/globals.css +++ b/packages/ui/globals.css @@ -12,22 +12,22 @@ } *::selection { - background-color: theme("colors.primary.200"); + background-color: theme("colors.primary.100"); color: theme("colors.primary.500"); } *::-moz-selection { - background-color: theme("colors.primary.200"); + background-color: theme("colors.primary.100"); color: theme("colors.primary.500"); } html.dark *::selection { - background-color: theme("colors.primary.800"); + background-color: theme("colors.primary.900"); color: theme("colors.primary.500"); } html.dark *::-moz-selection { - background-color: theme("colors.primary.800"); + background-color: theme("colors.primary.900"); color: theme("colors.primary.500"); } @@ -39,12 +39,12 @@ @media (prefers-color-scheme: dark) { *::selection { - background-color: theme("colors.primary.800"); + background-color: theme("colors.primary.900"); color: theme("colors.primary.500"); } *::-moz-selection { - background-color: theme("colors.primary.800"); + background-color: theme("colors.primary.900"); color: theme("colors.primary.500"); }