From 128596cd4174320ae9381593ffcc6830a4105ba9 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 16 Apr 2024 10:41:11 +0100 Subject: [PATCH] Ensure normal spectrum colors are used for nested links in top navs --- packages/client/src/components/app/NavItem.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/client/src/components/app/NavItem.svelte b/packages/client/src/components/app/NavItem.svelte index 360ea4f8bb..fcdda57ace 100644 --- a/packages/client/src/components/app/NavItem.svelte +++ b/packages/client/src/components/app/NavItem.svelte @@ -157,6 +157,11 @@ width: 100%; } + /* Use normal theme colors for links when using a top nav */ + .dropdown:not(.left) .sublinks a { + color: var(--spectrum-alias-text-color); + } + /* Left dropdowns */ .dropdown.left .sublinks-wrapper { display: none;