Skip to content

Commit d5e769d

Browse files
authored
Merge pull request #11807 from Turbo87/wcag
Improve WCAG AAA compliance
2 parents c8137df + 8b21a0a commit d5e769d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/app.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
--main-bg: light-dark(#f9f7ec, hsl(0, 1%, 19%));
5757
--main-bg-dark: light-dark(#edebdd, #141413);
5858
--gray-border: light-dark(#d5d3cb, #666561);
59-
--link-color: rgb(0, 172, 91);
60-
--link-hover-color: #007940;
59+
--link-color: light-dark(#00ac5b, #04da75);
60+
--link-hover-color: light-dark(#007940, #00f27f);
6161

6262
--placeholder-bg: hsl(212, 7%, 57%);
6363
--placeholder-bg2: hsl(213, 16%, 75%);

app/components/pagination.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
display: flex;
33
align-items: center;
44
justify-content: center;
5-
font-size: 90%;
5+
font-size: 110%;
66
margin-bottom: var(--space-xs);
77

88
:global(ol) {
@@ -21,7 +21,7 @@
2121
:global(a):hover { background-color: var(--main-bg-dark); }
2222
:global(a.active) { background-color: var(--main-bg-dark); }
2323

24-
:global(img), :global(svg) { vertical-align: middle; }
24+
:global(img), :global(svg) { vertical-align: middle; width: 2em; height: 2em; }
2525

2626
.prev, .next {
2727
:global(circle) {

app/components/stats-value.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
.label {
1515
grid-column: 1;
1616
grid-row: 2;
17-
color: #76838a;
17+
color: light-dark(#545454, #adc0cd);
1818
font-size: var(--space-s);
1919
font-weight: normal;
2020
line-height: 1.6;
@@ -27,5 +27,5 @@
2727
height: var(--space-l-xl);
2828
margin-left: var(--space-s);
2929
margin-top: var(--space-3xs);
30-
color: #76838a;
30+
color: light-dark(#545454, #adc0cd);
3131
}

0 commit comments

Comments
 (0)