From 12d5bac4a7a7d54e51cc87d19934ecfc725e4a9f Mon Sep 17 00:00:00 2001 From: Max Strasinsky <98811342+mstrasinskis@users.noreply.github.com> Date: Mon, 23 Dec 2024 10:08:03 +0000 Subject: [PATCH] Add banner bg variable (#557) # Motivation To solve the low contrast of the banners in cards and standardize their appearance, a new color theme variable has been added. # Changes - Added `--banner-background` to both themes. # Screenshots | Before | After | |--------|--------| | image | image | | image | image | | image | image | | image | image | --- src/lib/styles/themes/dark.scss | 2 ++ src/lib/styles/themes/light.scss | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/lib/styles/themes/dark.scss b/src/lib/styles/themes/dark.scss index 9d5e32ac..b993aa82 100644 --- a/src/lib/styles/themes/dark.scss +++ b/src/lib/styles/themes/dark.scss @@ -231,4 +231,6 @@ --tag-executed-background: var(--orchid-200-a25); --tag-failed-text: var(--orange-200); --tag-failed-background: var(--orange-200-a25); + + --banner-background: var(--card-background-tint); } diff --git a/src/lib/styles/themes/light.scss b/src/lib/styles/themes/light.scss index 58aa5392..4adb5eda 100644 --- a/src/lib/styles/themes/light.scss +++ b/src/lib/styles/themes/light.scss @@ -241,5 +241,7 @@ --tag-executed-background: var(--orchid-200-a25); --tag-failed-text: var(--orange-200); --tag-failed-background: var(--orange-200-a25); + + --banner-background: var(--card-background-tint); } }