tailwind-config
/
1.0.22
tailwind-config 1.0.22
Install from the command line:
Learn more about npm packages
$ npm install @corellium/tailwind-config@1.0.22
Install via package.json:
"@corellium/tailwind-config": "1.0.22"
About this version
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 },
} = 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
],
// Rest of your configuration:
// https://tailwindcss.com/docs/configuration
};