From 19347dd2211e743afcf3962c0ced13b5987fd86d Mon Sep 17 00:00:00 2001 From: Jon Gunderson Date: Tue, 23 Jul 2024 00:45:23 -0500 Subject: [PATCH] Ratings Slider: Use buttontext instead of linktext system color in high contrast mode (#3025) --- content/patterns/slider/examples/css/slider-rating.css | 10 +++++----- cspell.json | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/content/patterns/slider/examples/css/slider-rating.css b/content/patterns/slider/examples/css/slider-rating.css index 0dc3c3fc00..2a966d6351 100644 --- a/content/patterns/slider/examples/css/slider-rating.css +++ b/content/patterns/slider/examples/css/slider-rating.css @@ -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 { diff --git a/cspell.json b/cspell.json index 26cd4f08d9..5bd99d9d17 100644 --- a/cspell.json +++ b/cspell.json @@ -25,6 +25,7 @@ "Botr", "Brinza", "Bucketwheat", + "buttontext", "camelcase", "canvastext", "Capitan",