From 7a068a95def87f72bb2963b59decaa1f83e9954b Mon Sep 17 00:00:00 2001 From: Jeff Anderson <113629825+janderson9@users.noreply.github.com> Date: Tue, 5 Mar 2024 11:10:00 -0500 Subject: [PATCH] fix(app-rail): fix color for selected text #185 (#199) --- .../app-rail/src/components/FeatherAppRailNavItem.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/@featherds/app-rail/src/components/FeatherAppRailNavItem.vue b/packages/@featherds/app-rail/src/components/FeatherAppRailNavItem.vue index f688b081..e2d1e0d7 100644 --- a/packages/@featherds/app-rail/src/components/FeatherAppRailNavItem.vue +++ b/packages/@featherds/app-rail/src/components/FeatherAppRailNavItem.vue @@ -61,8 +61,11 @@ export default defineComponent({ transition: margin 280ms ease-in-out, padding 280ms ease-in-out; &.feather-list-item:visited { - color: var($state-text-color-on-surface-dark); + &:not(.selected) { + color: var($state-text-color-on-surface-dark); + } } + .feather-list-item-text { opacity: 1; transition: opacity 280ms ease-in-out;