@digital-go-jp/tailwind-theme-plugin
v0.1.16
Published
[@digital-go-jp/design-tokens](https://www.npmjs.com/package/@digital-go-jp/design-tokens) をベースにした Tailwind CSS のテーマプラグイン。
Downloads
1,851
Keywords
Readme
Tailwind Theme Plugin
@digital-go-jp/design-tokens をベースにした Tailwind CSS のテーマプラグイン。
インストール
npm install @digital-go-jp/tailwind-theme-plugin
tailwind.config.js
の plugins
部分を以下のように設定してください。
{
content: [...],
theme: {
extend: {
...
},
},
plugins: [require('@digital-go-jp/tailwind-theme-plugin')],
}
使用例
examples
ディレクトリ- React サンプルコンポーネント集
バージョン対応表
| Figma のバージョン | npm のバージョン | | ------------------ | ---------------- | | 1.4.2 | 0.1.16 |