@otter-hacker/tailwind-config
v2.2.0
Published
### Install
Downloads
7
Readme
Usage
Install
pnpm add @otter-hacker/tailwind-config
- Create postcss.config.cjs
module.exports = require('@otter-hacker/tailwind-config/postcss');
- Create tailwind.config.ts
import baseConfig from '@otter-hacker/tailwind-config';
import { type Config } from 'tailwindcss';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{js,ts,jsx,tsx}', './app/**/*.{js,ts,jsx,tsx,mdx}'],
presets: [baseConfig],
theme: {},
darkMode: 'class',
plugins: [],
} satisfies Config;