0.0.4 • Published 1 year ago

tailwind-antd-preset v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Use antd css variables in tailwindcss

Install

npm install tailwind-antd-preset -D

Usage

tailwind.config.js

/** @type {import('tailwindcss').Config} */
module.exports = {
  presets: [require('tailwind-antd-preset')],
}

In React

<div className='text-ant-color-primary'></div>
// ===> color: var(--ant-color-primary);

screenshoot

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

2 years ago

0.0.1

2 years ago