Instantly create a styleguide page based on your Theme UI configuration. Zero-config — just install the theme and see your Theme UI config displayed in a beautiful manner.
The @lekoarts/gatsby-theme-styleguide is a Gatsby theme that allows users to create a styleguide page based on their Theme UI configuration. It is a zero-config theme that provides a beautiful display of the Theme UI configuration. The theme utilizes the @lekoarts/gatsby-theme-specimens under the hood and offers features such as displaying colors, typography, and spacing scale. Users can also extend their styleguide page by using components from @lekoarts/gatsby-theme-specimens.
To install the @lekoarts/gatsby-theme-styleguide theme, follow the steps below:
gatsby new my-styleguide https://github.com/gatsbyjs/gatsby-starter-hello-world
cd my-styleguide
npm install @lekoarts/gatsby-theme-styleguide
gatsby-config.js file:module.exports = {
plugins: [
{
resolve: "@lekoarts/gatsby-theme-styleguide",
options: {
// Add theme options here
},
},
],
};
src folder.npm run develop
For more customization options and instructions on shadowing components, refer to the theme’s README and files.
The @lekoarts/gatsby-theme-styleguide is a powerful Gatsby theme that simplifies the creation of styleguide pages based on Theme UI configurations. It offers automatic styleguide generation and provides a beautiful display of colors, typography, and spacing scale. With the ability to extend the styleguide using components from @lekoarts/gatsby-theme-specimens, users have the flexibility to customize their styleguide page according to their needs. Overall, this theme is a great choice for developers looking for a streamlined way to showcase their Theme UI configuration.