Skip to content

Commit

Permalink
refactor(a11y): enhance text readability
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaDTH authored and ChristiaanScheermeijer committed Jan 29, 2024
1 parent 77ac755 commit fb7337f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/ui-react/src/components/Card/Card.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
line-height: 36px;
white-space: nowrap;
text-overflow: ellipsis;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.14), 0 4px 5px rgba(0, 0, 0, 0.12), 0 1px 10px rgba(0, 0, 0, 0.2);
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);

@include responsive.mobile-only {
font-size: 24px;
Expand All @@ -54,7 +54,7 @@
.meta {
justify-content: space-between;
padding: 16px;
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

&:hover {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
color: var(--primary-color);
font-family: var(--body-font-family);
font-weight: 400;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.14), 0 3px 4px rgba(0, 0, 0, 0.12), 0 1px 5px rgba(0, 0, 0, 0.2);
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
}

.mainPadding {
Expand Down Expand Up @@ -37,7 +37,7 @@

.info {
position: relative;
width: 70%;
width: 50%;
max-width: 650px;
min-height: 440px;

Expand Down

0 comments on commit fb7337f

Please sign in to comment.