@otter-hacker/tailwind-config

2.2.0 • Public • Published

Usage

Install

pnpm add @otter-hacker/tailwind-config
  1. Create postcss.config.cjs
module.exports = require('@otter-hacker/tailwind-config/postcss');
  1. 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;

Readme

Keywords

none

Package Sidebar

Install

npm i @otter-hacker/tailwind-config

Weekly Downloads

1

Version

2.2.0

License

ISC

Unpacked Size

1.54 kB

Total Files

4

Last publish

Collaborators

  • manlou