Skip to content

Latest commit

 

History

History
 
 

using-multiple-themes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Gatsby logomark

Using Multiple Themes

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.

🔧 Running locally

The site can be run locally on your own computer as well by following these steps:

  1. Clone the gatsby repository
git clone git@github.com:gatsbyjs/gatsby.git
  1. Navigate to the example
cd gatsby/examples/using-multiple-themes
  1. Install the dependencies for the application by running
npm install
  1. 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/

🧰 Resources used to create this project

🎓 More Guides for Learning about themes

Looking for more guidance? Full documentation for Gatsby lives on the website. Here are some places to start: