This repository demonstrates how to use multiple themes in a Gatsby site
In this section you will see how to compose multiple themes into a final site using gatsby-theme-blog, gatsby-theme-notes and gatsby-mdx-embed as examples. It will also cover the concept of component shadowing with Theme-UI for styling.
The site can be run locally on your own computer as well by following these steps:
- Clone the
gatsby
repository
git clone git@github.com:gatsbyjs/gatsby.git
- Navigate to the example
cd gatsby/examples/using-multiple-themes
- Install the dependencies for the application by running
npm install
- Run the Gatsby development server
gatsby develop
The site is now running at http://localhost:8000
, you can see your first post at http://localhost:8000/hello-posts/
Looking for more guidance? Full documentation for Gatsby lives on the website. Here are some places to start: