Skip to content

Commit

Permalink
Fix button text contrast to comply with WCAG AA (#269)
Browse files Browse the repository at this point in the history
Currently 1.34:1, but WCAG AA requires 4.5:1.
  • Loading branch information
mfisher87 authored Feb 17, 2025
1 parent 263698a commit a4adce7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/_static/try_examples.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@
font-family: vibur;
font-size: larger;
box-shadow: 0 2px 5px rgba(108, 108, 108, 0.2);
color: black;
}

.try_examples_button:hover {
background-color: var(--jupyter-light-primary-muted);
transform: scale(1.02);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
cursor: pointer;
color: white;
}

.try_examples_button_container {
Expand Down

0 comments on commit a4adce7

Please sign in to comment.