Skip to content

Commit

Permalink
colors
Browse files Browse the repository at this point in the history
  • Loading branch information
51750 committed May 31, 2022
1 parent 9fb2ec4 commit 2debbc3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module.exports = {
stories: [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-essentials",
"@storybook/addon-storysource",
Expand All @@ -15,5 +12,6 @@ module.exports = {
},
},
},
"storybook-dark-mode",
],
};
};
8 changes: 8 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { themes } from '@storybook/theming';
import "tailwindcss/tailwind.css";

export const parameters = {
Expand All @@ -13,4 +14,11 @@ export const parameters = {
date: /Date$/,
},
},
darkMode: {
dark: {
...themes.dark,
appContentBg: "black"
},
}

}

0 comments on commit 2debbc3

Please sign in to comment.