From 77c1b36a1f9c5b01f0e2bc1eeb4580f3ce930aa4 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 27 Jan 2023 14:35:44 +0800 Subject: [PATCH] Fix wrong shadow color --- src/app.css | 3 +-- src/index.css | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app.css b/src/app.css index f0e8834c..127d244f 100644 --- a/src/app.css +++ b/src/app.css @@ -814,8 +814,7 @@ button.carousel-dot:is(.active, [disabled].active) { background-color: var(--bg-color) !important; border: 1px solid var(--outline-color) !important; border-radius: 8px; - box-shadow: 0 0 8px var(--bg-faded-color), 0 4px 8px var(--bg-faded-color), - 0 2px 4px var(--bg-faded-color); + box-shadow: 0 3px 6px var(--drop-shadow-color); text-align: left; animation: appear 0.15s ease-in-out; } diff --git a/src/index.css b/src/index.css index e1f96bd3..091ad667 100644 --- a/src/index.css +++ b/src/index.css @@ -36,6 +36,7 @@ --img-bg-color: rgba(128, 128, 128, 0.2); --loader-color: #1c1e2199; --comment-line-color: #e5e5e5; + --drop-shadow-color: rgba(0, 0, 0, 0.15); --timing-function: cubic-bezier(0.3, 0.5, 0, 1); } @@ -69,6 +70,7 @@ --backdrop-color: rgba(0, 0, 0, 0.5); --loader-color: #f0f2f599; --comment-line-color: #565656; + --drop-shadow-color: rgba(0, 0, 0, 0.5); } }