From fd272c13727d288bc84b9f80bd72145d1c2dc8ee Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Wed, 1 Dec 2021 19:44:04 +0500 Subject: [PATCH] change selection color to accent color --- apps/mobile/html/Web.bundle/site/constants.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/apps/mobile/html/Web.bundle/site/constants.js b/apps/mobile/html/Web.bundle/site/constants.js index 7421f313a..59f3ba6fd 100755 --- a/apps/mobile/html/Web.bundle/site/constants.js +++ b/apps/mobile/html/Web.bundle/site/constants.js @@ -222,6 +222,12 @@ function setTheme() { background: none !important; border-bottom: 1px solid ${pageTheme.colors.nav} !important; } + + ::selection { + color: white !important; + background: ${pageTheme.colors.accent} !important; + } + `; @@ -260,6 +266,13 @@ function setTheme() { .mce-content-body [data-mce-selected="inline-boundary"] { background-color: ${pageTheme.colors.shade} !important; } + +::selection { + color: white !important; + background: ${pageTheme.colors.accent} !important; +} + + .mce-content-body a[data-mce-selected] { box-shadow: none !important; }