gatsby-theme-tomato

0.1.2 • Public • Published

gatsby-theme-tomato

A Theme UI preset theme for Gatsby

npm i gatsby-theme-tomato

Usage

This theme is built with composition in mind and can be used as the basis for a custom theme or to adjust the styles in other themes.

Composed with other themes

// gatsby-config.js
module.exports = {
  plugins: [
    'gatsby-theme-blog',
    'gatsby-theme-tomato',
  ]
}
// gatsby-config.js
module.exports = {
  plugins: [
    'gatsby-theme-notes',
    'gatsby-theme-tomato',
  ]
}

As a base theme

The styles in this theme can be used as a starting point for custom themes.

// gatsby-config.js
module.exports = {
  plugins: [
    'gatsby-theme-tomato',
    'gatsby-plugin-theme-ui',
  ]
}
// src/gatsby-plugin-theme-ui/index.js
import baseTheme from 'gatsby-theme-tomato'

export default {
  ...baseTheme,
  // add custom styles to override the base theme
}

See the Theme UI docs for more info on how to use the styles in your custom theme.

MIT License

Package Sidebar

Install

npm i gatsby-theme-tomato

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

4.21 kB

Total Files

4

Last publish

Collaborators

  • jxnblk