From c2763e2554a488fa9e322268c0d7cba3558a69d4 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 29 Nov 2023 15:57:59 +0100 Subject: [PATCH] fix(NcAppNavigationCaption): Make color `main-text` for accessibility Signed-off-by: Ferdinand Thiessen --- .../NcAppNavigationCaption.vue | 105 ++++++++++-------- 1 file changed, 60 insertions(+), 45 deletions(-) diff --git a/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue b/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue index c37dbff266..9fbdd26d54 100644 --- a/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue +++ b/src/components/NcAppNavigationCaption/NcAppNavigationCaption.vue @@ -1,17 +1,19 @@ ```vue + ``` ### Element with a slot for custom actions icon ```vue + ``` @@ -146,13 +162,12 @@ export default { &__name { font-weight: bold; - color: var(--color-primary-element); + color: var(--color-main-text); font-size: var(--default-font-size); line-height: $clickable-area; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - opacity: $opacity_normal; box-shadow: none !important; flex-shrink: 0; // padding to align the name with the icon of app navigation items