diff --git a/packages/ui/src/primitives/tailwind/Slider/index.tsx b/packages/ui/src/primitives/tailwind/Slider/index.tsx index 94cd7eb836..ca5c425316 100644 --- a/packages/ui/src/primitives/tailwind/Slider/index.tsx +++ b/packages/ui/src/primitives/tailwind/Slider/index.tsx @@ -59,7 +59,6 @@ const Slider = ({ value, min = 0, max = 100, step = 1, width = 200, onChange, on const gradientPercent = Math.round(((value - min) / (max - min)) * 100) const sliderStyle = { - '--tw-shadow': `-${width}px 0 0 ${width}px #214AA6 !important`, background: `linear-gradient(to right, #214AA6 ${gradientPercent}%, #214AA6 ${gradientPercent}%)` } diff --git a/tailwind.config.js b/tailwind.config.js index 0845945e4e..3d059d46e3 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -77,10 +77,8 @@ module.exports = { } } }, - purge: { - safelist: [ - ...Array.from({ length: 101 }, (_, i) => `via-[${i}%]`), - ...Array.from({ length: 101 }, (_, i) => `to-[${i}%]`) - ] - } + safelist: [ + ...Array.from({ length: 101 }, (_, i) => `via-[${i}%]`), + ...Array.from({ length: 101 }, (_, i) => `to-[${i}%]`) + ] }