From 589db107f996e0c18026555b95f5afca9826d7c8 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 1 Apr 2024 14:20:29 +0300 Subject: [PATCH] Updated text selection visuals --- assets/styles/layout/variables/main/_dark.scss | 4 ++-- assets/styles/layout/variables/main/_light.scss | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/styles/layout/variables/main/_dark.scss b/assets/styles/layout/variables/main/_dark.scss index c83dc2e24..6ae4998ba 100644 --- a/assets/styles/layout/variables/main/_dark.scss +++ b/assets/styles/layout/variables/main/_dark.scss @@ -20,8 +20,8 @@ --hover-border-color: var(--p-surface-500); --mark-background: var(--p-surface-700); --mark-text-color: var(--p-surface-200); - --selection-background: color-mix(in srgb, var(--primary-color), transparent 84%); - --selection-text-color: rgba(255,255,255,.87); + --selection-background: var(--p-surface-700); + --selection-text-color: var(--p-surface-0); --code-button-text-color: var(--p-surface-300); --docsearch-mask-background: var(--p-mask-background); } diff --git a/assets/styles/layout/variables/main/_light.scss b/assets/styles/layout/variables/main/_light.scss index 3f119e89d..58ab5eecb 100644 --- a/assets/styles/layout/variables/main/_light.scss +++ b/assets/styles/layout/variables/main/_light.scss @@ -20,8 +20,8 @@ --hover-border-color: var(--p-surface-400); --mark-background: var(--p-surface-200); --mark-text-color: var(--p-surface-700); - --selection-background: var(--p-primary-50); - --selection-text-color: var(--p-primary-700); + --selection-background: var(--p-surface-200); + --selection-text-color: var(--p-surface-950); --code-button-text-color: var(--p-surface-300); --docsearch-mask-background: var(--p-mask-background); }