Skip to content

Commit

Permalink
Changed the Canvas background color
Browse files Browse the repository at this point in the history
Changed sidebar color for more clarity.
  • Loading branch information
wrigh393 committed Mar 29, 2021
1 parent 4c5a0e9 commit 4591a56
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions storybook/DocsTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export default create({
brandTitle: 'webqueue2 Front End Docs',
brandUrl: 'https://engineering.purdue.edu/webqueue/webqueue2/build',
brandImage: 'https://github.itap.purdue.edu/ECN/webqueue2-frontend/blob/master/public/logo192.png?raw=true',
appBg: 'white'
});
15 changes: 14 additions & 1 deletion storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const withThemeProvider = (Story, context) => {
const theme = webqueueTheme(context.globals.theme);
return (
<ThemeProvider theme={theme} >
<Story {...context} />
<Story {...context} />
</ThemeProvider>
)
}
Expand All @@ -50,4 +50,17 @@ export const parameters = {
order: ['Introduction', 'Components']
},
},
backgrounds: {
default: 'light',
values: [
{
name: 'light',
value: '#f5f5f5',
},
{
name: 'dark',
value: '#333333'
},
],
},
}

0 comments on commit 4591a56

Please sign in to comment.