Skip to content

Commit

Permalink
fix(colorslider): move forced colors block down
Browse files Browse the repository at this point in the history
  • Loading branch information
cdransf committed Dec 19, 2024
1 parent 8a22f05 commit 6103f72
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions components/colorslider/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
}

0 comments on commit 6103f72

Please sign in to comment.