0.1.4 • Published 3 years ago

@arcofine/sepaq-design-system v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

🚅 Quick start

  1. 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

  1. Open src/shared/global.js.

    Add this line

    export const fontUrl = 'YOUR_GLOBAL_FONT_URL'
  2. 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

  3. ** Create the file .storybook/preview-head.html

    Add this line