Skip to content

Commit

Permalink
fix: storybook nativewind
Browse files Browse the repository at this point in the history
  • Loading branch information
Viraj-10 committed Aug 29, 2024
1 parent 890aa85 commit c0169a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/storybook-v7/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const gluestackPlugin = require('@gluestack-ui/nativewind-utils/tailwind-plugin');

/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: process.env.DARK_MODE ? process.env.DARK_MODE : 'media',
Expand Down Expand Up @@ -190,6 +192,6 @@ module.exports = {
'soft-4': '0px 0px 40px rgba(38, 38, 38, 0.1)',
},
},
plugins: [],
plugins: [gluestackPlugin],
},
};

0 comments on commit c0169a2

Please sign in to comment.