Skip to content

Commit

Permalink
Accordion Example: Correct (high) contrast issue (Issue #1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoeBijl committed Oct 7, 2019
1 parent 5e24440 commit cb85a6e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions examples/accordion/css/accordion.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

.Accordion.focus {
border-color: hsl(216, 94%, 73%);
border-color: hsl(216, 94%, 43%);
}

.Accordion.focus h3 {
Expand Down Expand Up @@ -42,6 +42,10 @@
background: hsl(216, 94%, 94%);
}

.Accordion-trigger:focus {
outline: 4px solid transparent;
}

.Accordion *:first-child .Accordion-trigger {
border-radius: 5px 5px 0 0;
}
Expand All @@ -64,7 +68,7 @@ button {
}

.Accordion-trigger:focus .Accordion-title {
border-color: hsl(216, 94%, 73%);
border-color: hsl(216, 94%, 43%);
}

.Accordion-icon {
Expand Down

0 comments on commit cb85a6e

Please sign in to comment.