@aklesky/tailwind-config
v0.9.0
Published
Tailwind Css configuration presets
Downloads
31
Readme
Tailwind @aklesky/tailwind-config
Installation
npm
npm install @aklesky/tailwind-config
yarn
yarn add @aklesky/tailwind-config
Usage
tailwind.config.cjs
const config = require('@aklesky/tailwind-config/config.js')
/** @type {import('tailwindcss').Config} */
const presets: Config = {
// ...
}
interface TailwindOptions {
forms?: boolean
typography?: boolean
aspectRatio?: boolean
lineClamp?: boolean
}
/** @type {import('tailwindcss').Config} */
module.exports = {
...config(presets, options),
}
Tailwind Options: Official Tailwindcss Plugins
forms
enable @tailwindcss/forms
forms?: boolean
typography
enable @tailwindcss/typography
typography?: boolean
lineClamp
enable @tailwindcss/line-clamp
lineClamp?: boolean
aspectRatio
enable @tailwindcss/aspect-ratio
aspectRatio?: boolean