UNPKG

create-better-t-stack

Version:

A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations

33 lines (30 loc) 835 B
const { hairlineWidth } = require("nativewind/theme"); /** @type {import('tailwindcss').Config} */ module.exports = { darkMode: "class", content: ["./app/**/*.{js,ts,tsx}", "./components/**/*.{js,ts,tsx}"], presets: [require("nativewind/preset")], theme: { extend: { colors: { background: "hsl(var(--background))", foreground: "hsl(var(--foreground))", primary: { DEFAULT: "hsl(var(--primary))", foreground: "hsl(var(--primary-foreground))", }, secondary: { DEFAULT: "hsl(var(--secondary))", foreground: "hsl(var(--secondary-foreground))", }, destructive: { DEFAULT: "hsl(var(--destructive))", }, }, borderWidth: { hairline: hairlineWidth(), }, }, }, plugins: [], };