Skip to content

Commit

Permalink
feat!: remove storybook env variables for theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Renato Moor committed Aug 30, 2022
1 parent f4389a2 commit 34053a5
Show file tree
Hide file tree
Showing 9 changed files with 1,793 additions and 957 deletions.
10 changes: 2 additions & 8 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ const path = require('path');
function resolve(dir) {
return path.join(__dirname, dir);
}

const sbTwConfigFoundations = require("../src/bin/config");
sbTwConfigFoundations.initialize()
require("storybook-tailwind-foundations/initialize.js")
.default('../../tailwind.config.js');

module.exports = {
"stories": [
Expand Down Expand Up @@ -35,10 +34,5 @@ module.exports = {
},
});
},
env: (config) => ({
...config,
STORYBOOK_TAILWIND: sbTwConfigFoundations.getConfig(),
STORYBOOK_SHOW_TAILWIND_COLORS: false,
}),
}

Loading

0 comments on commit 34053a5

Please sign in to comment.