From d2bf183b13e4a5578370139b955934bed6ed2acf Mon Sep 17 00:00:00 2001 From: Elad Shechter Date: Mon, 20 Nov 2023 11:24:48 -0300 Subject: [PATCH 1/2] Customize `select` style - dark mode --- src/scss/2-resets/_typography.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/scss/2-resets/_typography.scss b/src/scss/2-resets/_typography.scss index f7a12cbf93..9e1955d5fd 100644 --- a/src/scss/2-resets/_typography.scss +++ b/src/scss/2-resets/_typography.scss @@ -20,3 +20,8 @@ body { /* focus styles */ box-shadow: var(--focus-box-shadow); } + +::selection { + color: hsl(var(--aw-color-white)); + background-color:hsl(var(--aw-color-pink-500)); +} \ No newline at end of file From 4b8f2ac6f5708c23d0d17cf4e5749d3347900a1e Mon Sep 17 00:00:00 2001 From: Elad Shechter Date: Tue, 21 Nov 2023 09:43:34 -0300 Subject: [PATCH 2/2] Customize `select` style - Update colors --- src/scss/2-resets/_typography.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scss/2-resets/_typography.scss b/src/scss/2-resets/_typography.scss index 9e1955d5fd..586a421e96 100644 --- a/src/scss/2-resets/_typography.scss +++ b/src/scss/2-resets/_typography.scss @@ -22,6 +22,6 @@ body { } ::selection { - color: hsl(var(--aw-color-white)); - background-color:hsl(var(--aw-color-pink-500)); + color: hsl(var(--aw-color-black)); -webkit-text-fill-color: hsl(var(--aw-color-black)); + background-color: hsl(var(--aw-color-mint-500)); background-clip:revert; -webkit-background-clip:revert; } \ No newline at end of file