This package provides the extensible shared Tailwind CSS config used at Shinydocs.
First, install the package from npm:
npm install -D @shinydocs/tailwind-config
Then, in your tailwind.config.js
file, add the following:
/** @type {import('tailwindcss').Config} */
module.exports = {
presets: [require("@shinydocs/tailwind-config")],
};
That's it! You can override the settings from @shinydocs/tailwind-config
by editing the tailwind.config.js
file. Learn more about configuring Tailwind on the Tailwind CSS website.
This project adheres to Semantic Versioning. Please refer to the CHANGELOG.md for detailed changes and migration instructions.