From c83ef56673448313d9eae432eef80f3b6488d31e Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Tue, 13 Apr 2021 14:37:01 -0400 Subject: [PATCH] Added docs link and reformat --- storybook/DocsTheme.js | 38 ++++++++++---------------------------- 1 file changed, 10 insertions(+), 28 deletions(-) diff --git a/storybook/DocsTheme.js b/storybook/DocsTheme.js index 72d0181..ac35143 100644 --- a/storybook/DocsTheme.js +++ b/storybook/DocsTheme.js @@ -1,32 +1,14 @@ -/**Defines the theme for the documentation */ +/** + * Custom Storybook theme. + * @see https://storybook.js.org/docs/react/configure/theming#create-a-theme-quickstart + * @see https://storybook.js.org/docs/react/configure/features-and-behavior + */ import { create } from '@storybook/theming'; export default create({ - /** - * Set the base styling of the theme - * @type {string}*/ - base: 'light', - /** - * The title of the documentation - * @type {string} - * @example webqueue2 Style Guide - * @default + Front End Docs - */ - brandTitle: 'webqueue2 Front End Docs', - /** - * The URL for the website associated with the documentation. - * @type {string} - */ - brandUrl: 'https://engineering.purdue.edu/webqueue/webqueue2/build', - /** - * The the brand icon used in the Storybook sidebar. Can use any common image formats - * @type {string} - */ - brandImage: 'https://github.itap.purdue.edu/ECN/webqueue2-frontend/blob/master/public/logo192.png?raw=true', - /** - * Set the background of the UI. - * @type {string} - * @default 'white' - */ - appBg: 'white' + base: 'light', + 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' }); \ No newline at end of file