0.4.4 • Published 4 years ago
@reflexjs/gatsby-theme-styleguide v0.4.4
@reflexjs/gatsby-theme-styleguide
Adds a styleguide to your site to make building and testing themes easy.
Installation
npm i @reflexjs/gatsby-theme-styleguide
Configuration
// gatsby-config.js
module.exports = {
plugins: [`@reflexjs/gatsby-theme-styleguide`],
}
Options
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: `@reflexjs/gatsby-theme-styleguide`,
options: {
contentPath: "styleguide",
basePath: "/styleguide",
},
},
],
}
Data models
Styleguide
type Styleguide implements Node @dontInfer {
id: ID!
title: String
weight: Int
excerpt: String
slug: String
body: String
}
Usage
Place your styleguide inside styleguide
as follows:
site
└── styleguide
└── buttons.mdx
Note: On first run, sample styleguides for buttons
, colors
, forms
, and typography
will be automatically generated for you.
0.4.4
4 years ago
0.4.3
4 years ago
0.4.2
4 years ago
0.4.1
5 years ago
0.4.0
5 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.7
5 years ago
0.2.6
5 years ago
0.2.5
5 years ago
0.2.4
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.12
5 years ago
0.1.11
5 years ago
0.1.10
5 years ago
0.1.9
5 years ago
0.1.8
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago