Back to Gatsby

README

examples/using-multiple-themes/README.md

2.20.01.9 KB
Original Source
<p align="center"> <a href="https://www.gatsbyjs.com"> </a> </p> <h1 align="center"> Using Multiple Themes </h1>

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
shell
git clone [email protected]:gatsbyjs/gatsby.git
  1. Navigate to the example
shell
cd gatsby/examples/using-multiple-themes
  1. Install the dependencies for the application by running
shell

npm install

  1. Run the Gatsby development server
shell
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

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