Skip to content

Our very own Tailwind configuration!

Notifications You must be signed in to change notification settings

corellium/tailwind-config

Repository files navigation

Release

Tailwind Config Corellium

Installation

Run the command below to install our Tailwind Config:

yarn add -D @corellium/tailwind-config

Make sure that in target project you have latest version of tailwind installed.

yarn add -D tailwindcss

Usage

In your project root create tailwind.config.js file and add theme to the config.

const {
  config: { theme, plugins },
} = require('@corellium/tailwind-config');

module.exports = {
  // By this `theme` filed assingment you will have corellium theme enabled by default
  // https://tailwindcss.com/docs/theme#overriding-the-default-theme
  theme,
  content: [
    // https://tailwindcss.com/docs/content-configuration
  ],
  // https://tailwindcss.com/docs/configuration#plugins
  plugins,
  // Rest of your configuration:
  // https://tailwindcss.com/docs/configuration
};