๐Ÿ“ฆ hyoban / burogu

๐Ÿ“„ tailwind.config.js ยท 25 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25const { iconsPlugin, getIconCollections } = require("@egoist/tailwindcss-icons")
const defaultTheme = require("tailwindcss/defaultTheme")

/** @type {import('tailwindcss').Config} */
module.exports = {
	content: ["app/**/*.{ts,tsx}", "components/**/*.{ts,tsx}"],
	theme: {
		extend: {
			fontFamily: {
				// https://tailwindcss.com/docs/font-family#customizing-the-default-font
				mono: ["var(--font-dm-mono)", ...defaultTheme.fontFamily.mono],
				syne: ["var(--font-syne-mono)", ...defaultTheme.fontFamily.sans],
			},
		},
	},
	plugins: [
		iconsPlugin({
			collections: getIconCollections(["carbon"]),
		}),
		require("tailwindcss-animate"),
		require("@tailwindcss/typography"),
	],
	darkMode: "class",
}