@css-bit/tailwind-antd-color
v0.3.2
Published
Use `@ant-design/colors` as `tailwind colors default`
Downloads
1,268
Maintainers
Readme
@css-bit/tailwind-antd-color
Use @ant-design/colors
as tailwind colors default
.
Installation
npm install @css-bit/tailwind-antd-color --save-dev
Usage
const { tailwindAntdColors } = require('@css-bit/tailwind-antd-color');
module.exports = {
plugins: [
tailwindAntdColors({
// color name
primary: 'green',
// 0 ~ 255
grey: 174,
// start on 0
10: false
})
]
};
Tips
Use @css-bit/tailwind-smart-config to add more default color keywords like black/white/currentColor/transparent/inherit/initial
.