From 92a07c1ded482b90dc6e47393c0d2f5803bc33e2 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 11 Jun 2021 15:05:58 +0200 Subject: [PATCH] Fix some more a11y issues with grey text Signed-off-by: Thomas Citharel --- js/src/common.scss | 1 - js/src/components/Account/ActorCard.vue | 2 +- js/src/components/Comment/Comment.vue | 9 +++++---- js/src/views/Event/Event.vue | 5 +++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/js/src/common.scss b/js/src/common.scss index e1a5012bd..004ddb1b4 100644 --- a/js/src/common.scss +++ b/js/src/common.scss @@ -32,7 +32,6 @@ $color-black: #000; .mention { background: rgba($color-black, 0.1); - color: rgba($color-black, 0.6); font-size: 0.9rem; font-weight: bold; border-radius: 5px; diff --git a/js/src/components/Account/ActorCard.vue b/js/src/components/Account/ActorCard.vue index a6b7aebad..a57c2692a 100644 --- a/js/src/components/Account/ActorCard.vue +++ b/js/src/components/Account/ActorCard.vue @@ -12,7 +12,7 @@

{{ actor.name || `@${usernameWithDomain(actor)}` }}

-

+

@{{ usernameWithDomain(actor) }}

{{ $t("[This comment has been deleted]") }}

- {{ + + {{ $tc("View a reply", comment.totalReplies, { totalReplies: comment.totalReplies, }) @@ -77,8 +78,8 @@ v-else-if="comment.totalReplies && showReplies" @click="showReplies = false" > - - {{ $t("Hide replies") }} + + {{ $t("Hide replies") }}

@@ -465,7 +466,7 @@ a.comment-link { & > p > span { font-weight: bold; - color: $primary; + color: $violet-2; } } diff --git a/js/src/views/Event/Event.vue b/js/src/views/Event/Event.vue index 9578bfd4a..1318aad42 100755 --- a/js/src/views/Event/Event.vue +++ b/js/src/views/Event/Event.vue @@ -315,7 +315,9 @@ > {{ physicalAddress.poiInfos.name }}

-

{{ physicalAddress.poiInfos.alternativeName }}

+

+ {{ physicalAddress.poiInfos.alternativeName }} +