Skip to content

Commit

Permalink
fix(react-color-picker): ColorSlider hue gradient
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinaKozlova committed Feb 5, 2025
1 parent d0b0f4f commit 64b086f
Showing 1 changed file with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,13 @@ const thumbPositionVar = `--fui-Slider__thumb--position`;

const hueBackground = `linear-gradient(${[
`var(${colorSliderCSSVars.sliderDirectionVar})`,
'red 0',
'#f09 10%',
'#cd00ff 20%',
'#3200ff 30%',
'#06f 40%',
'#00fffd 50%',
'#0f6 60%',
'#35ff00 70%',
'#cdff00 80%',
'#f90 90%',
'red 100%',
'red',
'fuchsia',
'blue',
'aqua',
'lime',
'yellow',
'red',
].join(',')})`;

/**
Expand Down

0 comments on commit 64b086f

Please sign in to comment.