0.1.4 • Published 3 years ago
@arcofine/sepaq-design-system v0.1.4
🚅 Quick start
Open the source code and start editing!
Open the
learnstorybook-design-system
directory in your code editor of choice and building your first component!
Storybook Design System
Add global styles
Open src/shared/global.js.
Add this line
export const fontUrl = 'YOUR_GLOBAL_FONT_URL'
Open .storybook/preview.js
Add those lines
import React from 'react'; import { GlobalStyle } from '../src/shared/global'; export const decorators = [ Story => ( <> <GlobalStyle /> <Story /> </> ), ];
Add font tag
** Create the file .storybook/preview-head.html
Add this line