From 1440b49971f9001dee24801aa1912b5d7eac575a Mon Sep 17 00:00:00 2001 From: Olexii Bulhakov Date: Wed, 7 Feb 2024 20:43:12 +0200 Subject: [PATCH] Changes the shadow of table headers in dark mode. --- docs/_sass/custom/custom.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_sass/custom/custom.scss b/docs/_sass/custom/custom.scss index 4d0d08a..ac0cfbd 100644 --- a/docs/_sass/custom/custom.scss +++ b/docs/_sass/custom/custom.scss @@ -92,10 +92,10 @@ thead { .js-table-head-wrapper[data-is-fixed="true"] { @media (prefers-color-scheme: dark) { - box-shadow: 0px 20px 20px -20px rgb($body-background-color, 0.3); + box-shadow: 0px 20px 20px -20px $body-background-color; } @media (prefers-color-scheme: light) { - box-shadow: 0px 20px 20px -20px rgb($body-text-color, 0.3); + box-shadow: 0px 20px 20px -20px rgba($body-text-color, 0.3); } transition: box-shadow ease 500ms; }