From b6e6461692d0f3b88f6ad5c5f06dffc2a2752c0a Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Thu, 26 Oct 2023 16:20:53 -0700 Subject: [PATCH] Fix the function cover overlay color Update the overlay color to match the card background color. --- src/lib/wizards/functions/cover.svelte | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/lib/wizards/functions/cover.svelte b/src/lib/wizards/functions/cover.svelte index 708bff2251..1cfd97d743 100644 --- a/src/lib/wizards/functions/cover.svelte +++ b/src/lib/wizards/functions/cover.svelte @@ -285,13 +285,8 @@ .git-container .overlay { background: linear-gradient( 0, - #fcfcff 18.49%, - #fcfcff 68.91%, - rgba(252, 252, 255, 0.5) 95.8% + hsl(var(--p-card-bg-color)) 68.91%, + hsl(var(--p-card-bg-color) / 0.5) 95.8% ); } - - .theme-dark .git-container .overlay { - background: linear-gradient(0, #1b1b28 18.49%, #1b1b28 68.91%, rgba(27, 27, 40, 0.5) 95.8%); - }