-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
33 lines (31 loc) · 1.06 KB
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import typographyPlugin from "@tailwindcss/typography";
import type { Config } from "tailwindcss";
import { CONTAINER_PADDING, CONTAINER_WIDTH } from "./src/styles/constants";
import containerPlugin from "./src/styles/tailwind/container";
import { tailwindTypographyConfig } from "./src/styles/tailwind/typography";
const config: Config = {
content: [
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/lib/mdx/components.tsx",
],
corePlugins: {
container: false,
},
theme: {
extend: {
fontFamily: {
sans: `var(--font-inter), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"`,
},
maxWidth: {
container: CONTAINER_WIDTH,
},
padding: {
container: CONTAINER_PADDING,
},
typography: tailwindTypographyConfig,
},
},
plugins: [typographyPlugin, containerPlugin],
};
export default config;