Leverage the wide variety of powerful React components to build your design system. Display your colors, typography or any other design tokens with ease and focus on the design system itself, not on how to showcase it. Works seamlessly with MDX. Using the Gatsby Theme @lekoarts/gatsby-theme-specimens
.
Also be sure to check out other Free & Open Source Gatsby Themes and my Personal Website.
- Theme UI-based theming
- Suitable for MDX
- Offers React components specifically designed for design systems. You can display:
- Colors as swatches and rows. Individually placed or automated from an object/array in your theme file
- Typography e.g. font-family, font-size, font-weight and headings
- Spacing scales
- Audio files and downloads
- border-radius or box-shadow
- Alerts to emphasize important messages
Deploy this starter with one click on Netlify:
Use the Gatsby CLI to clone the site and install dependencies:
npx gatsby new gatsby-starter-specimens https://github.com/LekoArts/gatsby-starter-specimens
cd gatsby-starter-specimens
Start the site by running npm run develop
.
Your site is now running at http://localhost:8000
!
If you want to learn more about how you can use a Gatsby starter that is configured with a Gatsby theme, you can check out this shorter or longer tutorial. The tutorials don't exactly apply to this starter however the concepts are the same.
Important Note: Please read the guide Shadowing in Gatsby Themes to understand how to customize the underlying theme!
This starter creates a new Gatsby site that installs and configures the theme @lekoarts/gatsby-theme-specimens
.
Have a look at the theme's README and files to see what options are available and how you can shadow the various components including Theme UI. Generally speaking you will want to place your files into src/@lekoarts/gatsby-theme-specimens/
to shadow/override files. The Theme UI config can be configured by shadowing its files in src/gatsby-plugin-theme-ui/
.
The static
folder contains the icons, social media images and robots.txt
. Don't forget to change these files, too! You can use Real Favicon Generator to generate the image files inside static
.
If you have general questions or need help with Gatsby, please go to one of the support platforms mentioned in Gatsby's documentation. If you have a specific question about this project, you can head to the GitHub Discussions of the repository.
Looking for more guidance? Full documentation for Gatsby lives on Gatsby's website.
To learn more about Gatsby themes specifically, I recommend checking out the theme docs.
-
For most developers, I recommend starting with the in-depth tutorial for creating a site with Gatsby. It starts with zero assumptions about your level of ability and walks through every step of the process.
-
To dive straight into code samples, head to Gatsby's documentation. In particular, check out the How-to Guides and Reference items in the primary navigation.
Thanks for using this project! I'm always interested in seeing what people do with my projects, so don't hesitate to tag me on Twitter and share the project with me.
Please star this project, share it on Social Media or consider supporting me on GitHub Sponsors!