* 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
16 lines
541 B
JavaScript
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);
|