Skip to content

Instantly share code, notes, and snippets.

@jacobparis
Last active December 13, 2024 07:28
Show Gist options
  • Save jacobparis/9ca4df7832a02404ee1b0ee3786348ea to your computer and use it in GitHub Desktop.
Save jacobparis/9ca4df7832a02404ee1b0ee3786348ea to your computer and use it in GitHub Desktop.
Remix Tailwind v3
+ import '#app/tailwind.css'
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
import { type Config } from "tailwindcss"
const config = {
darkMode: ["class"],
content: [
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
prefix: "",
theme: {
extend: {},
},
} satisfies Config
export default config
@tailwind base;
@tailwind components;
@tailwind utilities;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment