From ef4321d7071f830da9bde16bb8db916fbe7c1755 Mon Sep 17 00:00:00 2001 From: James Morris Date: Wed, 27 Apr 2022 15:38:51 +0100 Subject: [PATCH] Fixed the gradient for MRR for new Dashboard in light mode refs: https://github.com/TryGhost/Team/issues/1531 --- ghost/admin/app/styles/app-dark.css | 5 +++++ ghost/admin/app/styles/layouts/dashboard-v5.css | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ghost/admin/app/styles/app-dark.css b/ghost/admin/app/styles/app-dark.css index 31e20a604b..bcfbfe70ce 100644 --- a/ghost/admin/app/styles/app-dark.css +++ b/ghost/admin/app/styles/app-dark.css @@ -1141,4 +1141,9 @@ kbd { .gh-dashboard5-community .gh-dashboard5-list-footer { border-color: transparent; +} + +.gh-dashboard5-chart-gradient { + background: rgb(21,23,25); + background: linear-gradient(270deg, rgba(21,23,25,0) 0%, rgba(21,23,25,1) 100%); } \ No newline at end of file diff --git a/ghost/admin/app/styles/layouts/dashboard-v5.css b/ghost/admin/app/styles/layouts/dashboard-v5.css index be0af66cd7..4d20fa1d74 100644 --- a/ghost/admin/app/styles/layouts/dashboard-v5.css +++ b/ghost/admin/app/styles/layouts/dashboard-v5.css @@ -438,8 +438,8 @@ Dashboard v5 Chart */ left: 0; width: 32px; height: 100%; - background: rgb(21,23,25); - background: linear-gradient(270deg, rgba(21,23,25,0) 0%, rgba(21,23,25,1) 100%); + background: rgb(255,255,255); + background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); } .gh-dashboard5-chart-box canvas { @@ -543,6 +543,7 @@ Dashboard v5 Metric */ white-space: nowrap; margin: 0 0 12px; gap: 10px; + color: var(--black); } .gh-dashboard5-metric.is-large .gh-dashboard5-metric-value {