1.0.1 • Published 2 years ago

@thebouncingkoala/tailwindcss-preset-env v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

tailwindcss-preset-env

Tailwindcss configuration file to share in all projects that need the official style guide of the bouncing koala

Get started

Install via npm

npm i -D @thebouncingkoala/tailwindcss-preset-env

Install via yarn

yarn add -D @thebouncingkoala/tailwindcss-preset-env

Add preset in your tailwindcss config file

module.exports = {
  presets: [
    require("@thebouncingkoala/tailwindcss-preset-env")
  ],
  // Customizations specific to this project would go here
  theme: {
    extend: {
      minHeight: {
        48: "12rem",
      },
    },
  },
  variants: {
    extend: {
      backgroundColor: ["active"],
    },
  },
}