perf(ui): improve web accessibility (#447)

- Make color and contrast meets WCAG 2 AA and above
- Fixes `aria-label` on button "copy link" in posts
This commit is contained in:
Cotes Chung
2023-08-02 05:18:35 +08:00
parent 0fd4c0bd0f
commit 37c976499e
10 changed files with 96 additions and 84 deletions

View File

@@ -107,7 +107,7 @@
}
%sidebar-links {
color: rgba(117, 117, 117, 0.9);
color: var(--sidebar-muted-color);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
@@ -122,6 +122,11 @@
-webkit-box-orient: vertical;
}
%text-highlight {
color: inherit;
font-weight: 600;
}
/* ---------- scss mixin --------- */
@mixin mt-mb($value) {