@ellreka/tailwindcss-table
v1.0.0
Published
## Install
Downloads
4
Readme
@ellreka/tailwindcss-table
Install
yarn add -D @ellreka/tailwindcss-table
tailwind.config.js
plugins: [require('tailwindcss-table')]
Usage
variants: {
extend: {
textColor: ['th', 'td']
}
}
Example
<table class="th:text-red-600 td:text-blue-600 ">
<thead>
<th>red-600</th>
</thead>
<tbody>
<td>blue-600</td>
</tbody>
</table>