@gatsby-themes/tailwind

Tailwind Theme for GatsbyJS

Usage no npm install needed!

<script type="module">
  import gatsbyThemesTailwind from 'https://cdn.skypack.dev/@gatsby-themes/tailwind';
</script>

README

Gatsby Tailwind Theme

The tailwind theme sets up the configuration based on the best practices recommended by the Gatsby team

import {Card} from @gatsby-themes/tailwind;

How to use

  • Add the dependency @gatsby-themes/tailwind
  • The emotion theme will warn of the peer dependencies which also must be added to the gatsby site leveraging this theme.
yarn add `@gatsby-themes/tailwind`
  • Configure the theme in the gatsby-config.js file.
module.exports = {
    plugins: [
        {
            resolve: '@gatsby-themes/tailwind',
        }
    ]
};