PromucFlow_constructor/app/client/.storybook/config.js
satbir121 901932f9d7
Switching to system fonts (#344)
* Switching to system fonts

* Fixed text alignment issue in text component.

* Changing font of ads components.

* Adding a font type

* Removing unused fonts

* Making fonts in theme an object.

* Removing unncessary font declerations

* Fixing storybook

* Reverting background remove
2020-08-19 03:21:23 +05:30

16 lines
541 B
JavaScript

import { configure, addDecorator, addParameters } from "@storybook/react";
import { withContexts } from "@storybook/addon-contexts/react";
import { contexts } from "./configs/contexts";
import { } from '@storybook/react'; // <- or your storybook framework
import "../src/index.css";
addDecorator(withContexts(contexts));
addParameters({
backgrounds: [
{ name: 'dark', value: '#090707', default: true },
{ name: 'light', value: '#fff' },
],
});
configure(require.context("../src", true, /\.stories\.tsx$/), module);