0.0.1 • Published 2 years ago

@talves/gatsby-theme-site-layout v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@talves/gatsby-theme-site-layout

Attribution: theme-ui/packages/gatsby-theme-ui-layout

Gatsby theme for adding shadowable layouts to multiple Gatsby themes for composition.

yarn add @talves/gatsby-theme-site-layout

In your theme, import and use the Layout component, which does not include any default layout.

// example page template
import { Layout } from '@talves/gatsby-theme-site-layout'

export default props =>
  <Layout {...props}>
    {/* your theme content goes here */}
  </Layout>

End-users of a theme that is built with gatsby-theme-ui-layout can shadow the same Layout component to customize the page layout.

0.0.1

2 years ago