mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
chore(root): initial theme plugin added
This commit is contained in:
parent
4f83b26c0b
commit
cf83f14afa
@ -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",
|
||||
|
||||
@ -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],
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user