Skip to content

Commit

Permalink
fix(frontend): banner text legiblility with dark color scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Sep 6, 2020
1 parent b22224d commit 4995ba3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/frontend/components/banner/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
display: flex;
}

/* Inverse text color with dark scheme to retain legiblility */
@media (prefers-color-scheme: dark) {
.banner__body {
color: var(--color-neutral-lightest);
}
}

.banner__text {
flex: 1 1 auto;
}
Expand Down

0 comments on commit 4995ba3

Please sign in to comment.