TailwindCSS FAQ
As of Tailwind CSS v2.2, lightBlue
has been renamed to sky
.
warn - As of Tailwind CSS v2.2, `lightBlue` has been renamed to `sky`.
warn - Update your configuration file to silence this warning.
const colors = require('tailwindcss/colors');
// 忽略弃用的颜色
delete colors['lightBlue'];
delete colors['warmGray'];
delete colors['trueGray'];
delete colors['coolGray'];
delete colors['blueGray'];
prettier-plugin-tailwindcss
- custom > component > utility
- utility
- sort by override
- modifiers last
- h -> w
- x -> y
- https://github.com/tailwindlabs/prettier-plugin-tailwindcss
rem -> px
- rem to px #1232