From 50570c6b7687e29a4d5b9799cf9135e899ec954c Mon Sep 17 00:00:00 2001 From: Olivier Demers Date: Tue, 25 Apr 2023 21:03:06 +0000 Subject: [PATCH] trying only selection --- src/app.scss | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/app.scss b/src/app.scss index f46101e..cfdb6e6 100644 --- a/src/app.scss +++ b/src/app.scss @@ -4,31 +4,37 @@ :root { --primary: #189ad6; --primary-hover: #0288d1; - --primary-focus: #c99a2c; --primary-inverse: #fff; --form-element-active-border-color: var(--primary); --form-element-focus-color: var(--primary-focus); --switch-color: var(--primary-inverse); --switch-checked-background-color: var(--primary); + ::selection{ + background-color: #c99a2c; + } } :root:not([data-theme='dark']) { --muted-border-color: #c99a2c; - --primary-focus: #c99a2c; --card-sectionning-background-color: #189ad6; --card-background-color: hsl(199, 80%, 55%); --color: white; --border-width: 2px; --active-link-color: #0a1425; + ::selection{ + background-color: #c99a2c; + } } @media only screen and (prefers-color-scheme: dark) { :root:not([data-theme]) { --background-color: #0a1425; - --primary-focus: #c99a2c; --card-sectionning-background-color: #243043; --card-background-color: #0c192e; --card-border-color: #c99a2c; --active-link-color: #189ad6; + ::selection{ + background-color: #c99a2c; + } } }