@tailwind/jit gradientColorStop bug
Steps
- Build using
npm run build:css
- Open
index.html
in the browser
- Expect: custom gradient to work
- Actual: custom gradient doesn't work
- edit
postconfig.config.js
- comment
@tailwindcss/jit
- uncomment
tailwindcss
- Save and rebuild
- Open in browser again:
- Actual: custom gradient works
Demo
see tailwind-jit-gradient-bug.mp4 for behaviour.