From 2246f33023e47269eb5dc42fe7a4c07ce2d9760a Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Tue, 31 Jan 2023 11:42:15 -0800 Subject: [PATCH] Color fix for Recently Viewed items (#6227) - Normalized color styles. Co-authored-by: David Tsay <3614296+davetsay@users.noreply.github.com> --- src/styles/_constants-espresso.scss | 2 +- src/styles/_constants-maelstrom.scss | 2 +- src/ui/layout/recent-objects.scss | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/styles/_constants-espresso.scss b/src/styles/_constants-espresso.scss index 048e60843e..35521dc936 100644 --- a/src/styles/_constants-espresso.scss +++ b/src/styles/_constants-espresso.scss @@ -390,7 +390,7 @@ $colorItemTreeHoverBg: rgba(#fff, 0.1); $colorItemTreeHoverFg: #fff; $colorItemTreeIcon: $colorKey; // Used $colorItemTreeIconHover: $colorItemTreeIcon; // Used -$colorItemTreeFg: $colorBodyFg; +$colorItemTreeFg: #ccc; $colorItemTreeSelectedBg: $colorSelectedBg; $colorItemTreeSelectedFg: $colorItemTreeHoverFg; $filterItemTreeSelected: $filterHov; diff --git a/src/styles/_constants-maelstrom.scss b/src/styles/_constants-maelstrom.scss index 2dc072b3fa..7d39877b57 100644 --- a/src/styles/_constants-maelstrom.scss +++ b/src/styles/_constants-maelstrom.scss @@ -394,7 +394,7 @@ $colorItemTreeHoverBg: rgba(#fff, 0.03); $colorItemTreeHoverFg: #fff; $colorItemTreeIcon: $colorKey; // Used $colorItemTreeIconHover: $colorItemTreeIcon; // Used -$colorItemTreeFg: $colorBodyFg; +$colorItemTreeFg: $colorA; $colorItemTreeSelectedBg: $colorSelectedBg; $colorItemTreeSelectedFg: $colorItemTreeHoverFg; $filterItemTreeSelected: $filterHov; diff --git a/src/ui/layout/recent-objects.scss b/src/ui/layout/recent-objects.scss index cdae02689f..16b3354052 100644 --- a/src/ui/layout/recent-objects.scss +++ b/src/ui/layout/recent-objects.scss @@ -90,7 +90,6 @@ } } } - } &__tags { @@ -103,7 +102,7 @@ &__title { border-radius: $basicCr; - color: pullForward($colorBodyFg, 30%); + color: $colorItemTreeFg; cursor: pointer; padding: $interiorMarginSm;