Skip to content

Commit

Permalink
Merge pull request #164 from web3ui/feat/theme
Browse files Browse the repository at this point in the history
Feat/theme
  • Loading branch information
locothedev authored Feb 28, 2022
2 parents 1e1bebf + 493554d commit 20958a9
Show file tree
Hide file tree
Showing 5 changed files with 3,770 additions and 2,665 deletions.
1 change: 1 addition & 0 deletions .storybook/assets/Moralis-Web3-UI-kit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions .storybook/manager.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { addons } from '@storybook/addons';
import theme from './theme';

addons.setConfig({
theme,
});
9 changes: 9 additions & 0 deletions .storybook/theme.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { create } from '@storybook/theming';
import logo from './assets/Moralis-Web3-UI-kit.svg';

export default create({
base: 'light',
brandTitle: 'Web3 Ui Kit',
brandUrl: 'https://github.com/web3ui/web3uikit',
brandImage: logo,
});
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"react-dom": "^17.0.2"
},
"dependencies": {
"@storybook/theming": "^6.4.19",
"@walletconnect/web3-provider": "^1.7.1",
"@web3auth/web3auth": "^0.3.2",
"moralis": "^1.3.2",
Expand Down Expand Up @@ -73,7 +74,7 @@
"@storybook/addon-essentials": "^6.4.9",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.4.9",
"@storybook/addons": "^6.4.9",
"@storybook/addons": "^6.4.19",
"@storybook/react": "^6.4.9",
"@storybook/testing-react": "^1.2.2",
"@testing-library/jest-dom": "^5.16.1",
Expand Down
Loading

0 comments on commit 20958a9

Please sign in to comment.