Skip to content

Commit 6d75b22

Browse files
committed
fix: a11y fix on text contrast
both introduced a new shade of the gray color - next fit to the 50, that is even already higher than 4.5, which is the minimum for AA a11y definition
1 parent 4f13807 commit 6d75b22

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

packages/uikit-workshop/src/sass/scss/01-abstracts/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ $pl-color-gray-07: #eee;
1414
$pl-color-gray-13: #ddd;
1515
$pl-color-gray-20: #ccc;
1616
$pl-color-gray-50: #808080;
17+
$pl-color-gray-55: #737373;
1718
$pl-color-gray-70: #4d4c4c;
1819
$pl-color-gray-87: #222;
1920
$pl-color-black: #000;

packages/uikit-workshop/src/sass/scss/04-components/_pattern.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
padding: 0.5rem 0 0;
2525
line-height: 1.3;
2626
font-size: 90%;
27-
color: $pl-color-gray-50;
27+
color: $pl-color-gray-55;
2828

2929
&:empty {
3030
padding: 0;
@@ -52,7 +52,7 @@
5252
display: inline-flex; /* 1 */
5353
align-items: center; /* 1 */
5454
padding: $pl-pad 0 0.3rem;
55-
color: $pl-color-gray-50 !important;
55+
color: $pl-color-gray-55 !important;
5656
text-decoration: none;
5757
cursor: pointer;
5858

@@ -73,7 +73,7 @@
7373
right: 0;
7474
z-index: 1;
7575
padding: 0.4rem 0.5rem;
76-
color: $pl-color-gray-50;
76+
color: $pl-color-gray-55;
7777
background-color: transparent;
7878
cursor: pointer;
7979
font-weight: normal;

packages/uikit-workshop/src/sass/scss/04-components/_tabs.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
padding: 0.2rem 0.4rem;
4343
border: 1px solid transparent;
4444
border-radius: $pl-border-radius-med;
45-
color: $pl-color-gray-50;
45+
color: $pl-color-gray-55;
4646
background-color: $pl-color-white;
4747
cursor: pointer;
4848
text-decoration: none;

packages/uikit-workshop/src/sass/scss/04-components/_text-passage.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Link within the text passage
2424
*/
2525
a {
26-
color: $pl-color-gray-50;
26+
color: $pl-color-gray-55;
2727
text-decoration: underline;
2828
transition: opacity $pl-animate-quick ease;
2929

0 commit comments

Comments
 (0)