Skip to content

Commit

Permalink
fix selection color for users with high contrast screen setting (#10909)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-hariti authored Jul 31, 2024
1 parent 3be274d commit 75ab949
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
--iris-9: var(--accent-purple);
--iris-a9: var(--accent-purple);
--shadow-6: 0px 4px 16px 0px rgba(31, 22, 51, 0.1);
::selection {
background-color: var(--accent-a7);
}
pre::selection {
background-color: rgba(106, 95, 193, 0.5);
}
}

.icon {
Expand Down
2 changes: 1 addition & 1 deletion src/components/docPage/type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

h2 {
font-size: 1.5rem;
margin-bottom: .75rem;
margin-bottom: 0.75rem;
margin-top: 2rem;
}

Expand Down

0 comments on commit 75ab949

Please sign in to comment.