Skip to content

Commit

Permalink
color contrast (mdn#23467)
Browse files Browse the repository at this point in the history
  • Loading branch information
estelle committed Jan 8, 2023
1 parent 3186fa2 commit 347b664
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion files/en-us/web/css/_doublecolon_part/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,18 @@ tabbed-custom-element::part(tab) {

tabbed-custom-element::part(tab):hover {
background-color: #0c0d19;
color: #ffffff;
border-color: #0c0d33;
}

tabbed-custom-element::part(tab):hover:active {
background-color: #0c0d33;
color: #ffffff;
}

tabbed-custom-element::part(tab):focus {
box-shadow: 0 0 0 1px #0a84ff inset, 0 0 0 1px #0a84ff,
box-shadow: 0 0 0 1px #0a84ff inset,
0 0 0 1px #0a84ff,
0 0 0 4px rgba(10, 132, 255, 0.3);
}

Expand Down

0 comments on commit 347b664

Please sign in to comment.