From 734717c50efbe754d6cc73f5664b811941a273cf Mon Sep 17 00:00:00 2001 From: dem4ron Date: Thu, 9 Jan 2025 21:24:57 +0100 Subject: [PATCH] Fix dark mode bootcamp dashboard gradient --- app/css/bootcamp/variables.css | 5 ++++- app/css/ui-kit/colors.css | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/css/bootcamp/variables.css b/app/css/bootcamp/variables.css index e0a1d8b865..90418055bd 100644 --- a/app/css/bootcamp/variables.css +++ b/app/css/bootcamp/variables.css @@ -1,5 +1,8 @@ .bg-grad-basic { - background-image: linear-gradient(#e1ebff, rgba(225, 235, 255, 0)); + background-image: linear-gradient( + var(--backgroundColorI), + var(--backgroundColorITransparent) + ); background-size: 100% 350px; background-repeat: repeat-x; } diff --git a/app/css/ui-kit/colors.css b/app/css/ui-kit/colors.css index 0602cadc8c..6e93ea8f2a 100644 --- a/app/css/ui-kit/colors.css +++ b/app/css/ui-kit/colors.css @@ -147,6 +147,7 @@ --backgroundColorH: var(--c-130B43); /* veryLightBlue */ --backgroundColorI: #e1ebff; + --backgroundColorITransparent: rgba(225, 235, 255, 0); --backgroundColorBorderGradientLightPurple: theme(colors.lightPurple); --backgroundColorNotifications: linear-gradient( 180deg, @@ -441,6 +442,7 @@ body.namespace-.controller-insiders.theme-light, --backgroundColorG: var(--c-2F2943); --backgroundColorH: var(--c-F0F3F9); --backgroundColorI: var(--c-191525); + --backgroundColorITransparent: rgba(25, 21, 37, 0); --backgroundColorJ: var(--backgroundColorB); --backgroundColorBorderGradientLightPurple: theme(colors.darkBlueGray); --backgroundColorNotifications: theme(colors.eerieBlack);