How to use the @storybook/design-system.global.fontUrl function in @storybook/design-system

To help you get started, we’ve selected a few @storybook/design-system examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github storybookjs / frontpage / gatsby-config.js View on Github external
},
    },
    'gatsby-plugin-sharp',
    {
      resolve: `gatsby-plugin-manifest`,
      options: {
        name: 'gatsby-starter-default',
        short_name: 'starter',
        start_url: '/',
      },
    },
    {
      resolve: 'gatsby-plugin-web-font-loader',
      options: {
        custom: {
          urls: [global.fontUrl],
        },
      },
    },
    `gatsby-plugin-styled-components`,
    `gatsby-plugin-emotion`,
    {
      resolve: 'gatsby-source-github-repo',
      options: {
        repoUrl: 'https://github.com/storybooks/storybook',
      },
    },
    {
      resolve: 'gatsby-plugin-segment-js',
      options: {
        prodKey: 'AvvBObOmHaEMqfub8JJUXq5umjsuaqS8',
        trackPage: true,
github chromaui / learnstorybook.com / src / html.js View on Github external
export default function HTML(props) {
  return (
    
      
        
        
        
        {props.headComponents}
        
      
      
        {props.preBodyComponents}
        
        <div id="___gatsby">
        {props.postBodyComponents}
      
    
  );
}
</div>

@storybook/design-system

Storybook design system

MIT
Latest version published 11 months ago

Package Health Score

64 / 100
Full package analysis

Similar packages