Usage
npm install @funda/tailwind-config
If you want to extend the existing config:
// tailwind.config.js
module.exports = {
presets: [require("@funda/tailwind-config")],
theme: {
extend: {
padding: {
37: "2rem",
},
},
},
};
If you want to use the config as is:
// tailwind.config.js
module.exports = {
presets: [require("@funda/tailwind-config")],
};
For more information on Tailwind check their amazing documentation.
How to push your changes
This repo uses commitlint, which means that it follows specific commit message rules. If the messages are not on the expected format it wont be possible to commit/push your changes.
Example of commit message:
'feat(branch_name): commit message' or 'fix(branch_name): commit message'
PS: It is recommended to use the terminal for commit, if you use any GUI it might be necessary to update you local variable PATH on your GUI. Reference: Husky issues