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
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
};