Skip to main content

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

rem -> px