From e45ecf55f2b69246ef4f893399a8395b72ad3852 Mon Sep 17 00:00:00 2001 From: patak Date: Sat, 26 Nov 2022 21:41:18 +0100 Subject: [PATCH] fix(a11y): solid color for secondary text (#148) --- components/account/AccountHandle.vue | 4 ++-- components/account/AccountHeader.vue | 16 ++++++++-------- components/account/AccountHoverCard.vue | 4 ++-- components/account/AccountInfo.vue | 2 +- components/common/CommonPaginator.vue | 8 ++++---- components/common/dropdown/DropdownItem.vue | 2 +- components/nav/NavFooter.vue | 2 +- components/nav/NavTitle.vue | 2 +- components/publish/PublishWidget.vue | 4 ++-- components/status/StatusAccountDetails.vue | 2 +- components/status/StatusCard.vue | 6 +++--- components/status/StatusDetails.vue | 2 +- components/status/StatusReplyingTo.vue | 4 ++-- components/status/edit/StatusEditIndicator.vue | 1 + components/tiptap/TiptapMentionList.vue | 2 +- components/user/UserSignIn.vue | 2 +- components/user/UserSignInEntry.vue | 2 +- styles/vars.css | 2 ++ unocss.config.ts | 1 + 19 files changed, 36 insertions(+), 32 deletions(-) diff --git a/components/account/AccountHandle.vue b/components/account/AccountHandle.vue index 2f3b1981..8173d99c 100644 --- a/components/account/AccountHandle.vue +++ b/components/account/AccountHandle.vue @@ -10,7 +10,7 @@ const serverName = $computed(() => getServerName(account)) diff --git a/components/account/AccountHeader.vue b/components/account/AccountHeader.vue index 9d486fd6..2a3ed393 100644 --- a/components/account/AccountHeader.vue +++ b/components/account/AccountHeader.vue @@ -67,7 +67,7 @@ function previewAvatar() {
- +
@@ -81,12 +81,12 @@ function previewAvatar() {
- +
-
-
-
+
+
+
{{ field.name }} |
@@ -94,13 +94,13 @@ function previewAvatar() {
- {{ formattedNumber(account.statusesCount) }} Posts + {{ formattedNumber(account.statusesCount) }} Posts - {{ humanReadableNumber(account.followingCount) }} Following + {{ humanReadableNumber(account.followingCount) }} Following - {{ humanReadableNumber(account.followersCount) }} Followers + {{ humanReadableNumber(account.followersCount) }} Followers
diff --git a/components/account/AccountHoverCard.vue b/components/account/AccountHoverCard.vue index 149d13a6..ab373ccb 100644 --- a/components/account/AccountHoverCard.vue +++ b/components/account/AccountHoverCard.vue @@ -9,7 +9,7 @@ defineProps<{ diff --git a/components/account/AccountInfo.vue b/components/account/AccountInfo.vue index ff0167b7..13f4d148 100644 --- a/components/account/AccountInfo.vue +++ b/components/account/AccountInfo.vue @@ -18,7 +18,7 @@ const { account, link = true, fullServer = false } = defineProps<{
- + diff --git a/components/common/CommonPaginator.vue b/components/common/CommonPaginator.vue index c6fcf594..fbe286c6 100644 --- a/components/common/CommonPaginator.vue +++ b/components/common/CommonPaginator.vue @@ -28,13 +28,13 @@ const { items, state, endAnchor, error } = usePaginator(paginator)
-
- Loading... +
+ Loading...
-
+
End of the list
-
+
ERROR: {{ error }}
diff --git a/components/common/dropdown/DropdownItem.vue b/components/common/dropdown/DropdownItem.vue index 6fcd81c2..4c967302 100644 --- a/components/common/dropdown/DropdownItem.vue +++ b/components/common/dropdown/DropdownItem.vue @@ -27,7 +27,7 @@ const handleClick = (evt: MouseEvent) => {
-
+

{{ description }} diff --git a/components/nav/NavFooter.vue b/components/nav/NavFooter.vue index 61a610a4..cecee0fc 100644 --- a/components/nav/NavFooter.vue +++ b/components/nav/NavFooter.vue @@ -6,7 +6,7 @@ const buildTimeAgo = useTimeAgo(buildTime) diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue index 5d140f7a..5229cdd9 100644 --- a/components/publish/PublishWidget.vue +++ b/components/publish/PublishWidget.vue @@ -150,7 +150,7 @@ onUnmounted(() => {