Skip to content

Commit

Permalink
Ratings Slider: Use buttontext instead of linktext system color in hi…
Browse files Browse the repository at this point in the history
…gh contrast mode (#3025)
  • Loading branch information
jongund authored Jul 23, 2024
1 parent 69305d1 commit 19347dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions content/patterns/slider/examples/css/slider-rating.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,23 +67,23 @@

@media (forced-colors: active) {
.rating-slider svg .focus-ring {
fill: linktext;
fill: buttontext;
}

.rating-slider svg .target {
stroke: linktext;
stroke: buttontext;
}

.rating-slider svg .label {
fill: linktext;
fill: buttontext;
}

.rating-slider svg .description {
fill: linktext;
fill: buttontext;
}

.rating-slider svg .current .target {
fill: linktext;
fill: buttontext;
}

.rating-slider svg .current .label {
Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"Botr",
"Brinza",
"Bucketwheat",
"buttontext",
"camelcase",
"canvastext",
"Capitan",
Expand Down

0 comments on commit 19347dd

Please sign in to comment.