chore(root): initial theme plugin added

This commit is contained in:
Junior Garcia 2023-01-07 22:46:07 -03:00
parent 4f83b26c0b
commit cf83f14afa
2 changed files with 5 additions and 2 deletions

View File

@ -43,9 +43,9 @@
"@storybook/blocks": "^7.0.0-beta.20",
"@storybook/node-logger": "^7.0.0-beta.20",
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/react": "^7.0.0-beta.20",
"@storybook/react-webpack5": "^7.0.0-beta.20",
"@storybook/testing-library": "^0.0.14-next.1",
"@nextui-org/theme": "workspace:*",
"@babel/preset-env": "^7.14.5",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",

View File

@ -1,4 +1,7 @@
/** @type {import('tailwindcss').Config} */
const {plugin} = require('@nextui-org/theme/plugin')
module.exports = {
content: ['../**/src/**/*.{js,jsx,ts,tsx}'],
// Toggle dark-mode based on data-mode="dark"
@ -6,5 +9,5 @@ module.exports = {
theme: {
extend: {},
},
plugins: [],
plugins: [plugin],
};