From 6103f72b81755a853be232d525477b154704e06f Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 19 Dec 2024 11:13:24 -0800 Subject: [PATCH] fix(colorslider): move forced colors block down --- components/colorslider/index.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/components/colorslider/index.css b/components/colorslider/index.css index 6675a0f5052..659a0f939d3 100644 --- a/components/colorslider/index.css +++ b/components/colorslider/index.css @@ -27,15 +27,6 @@ --mod-colorhandle-hitarea-border-radius: var(--mod-color-slider-handle-hitarea-border-radius, 0px); } -@media (forced-colors: active) { - .spectrum-ColorSlider { - --highcontrast-color-slider-border-color: CanvasText; - --highcontrast-color-slider-border-color-disabled: GrayText; - --highcontrast-color-slider-background-color-disabled: Canvas; - forced-color-adjust: none; - } -} - .spectrum-ColorSlider { position: relative; display: block; @@ -124,3 +115,12 @@ margin: 0; pointer-events: none; } + +@media (forced-colors: active) { + .spectrum-ColorSlider { + --highcontrast-color-slider-border-color: CanvasText; + --highcontrast-color-slider-border-color-disabled: GrayText; + --highcontrast-color-slider-background-color-disabled: Canvas; + forced-color-adjust: none; + } +}