-
-
Notifications
You must be signed in to change notification settings - Fork 158
/
Copy pathtailwind.config.ts
60 lines (58 loc) · 1.68 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import type { Config } from "tailwindcss"
import { createPreset } from "next-docs-ui/tailwind-plugin"
const config = {
darkMode: "class",
presets: [createPreset() as any],
content: [
"./ui/**/*.{ts,tsx,js,jsx}",
"./content/**/*.{md,mdx,ts,tsx,js,jsx}",
"./demos/**/*.{md,mdx,ts,tsx,js,jsx}",
"./components/**/*.{ts,tsx,js,jsx}",
"./app/**/*.{ts,tsx,js,jsx}",
"./demos/**/*.{ts,tsx,js,jsx}",
"./mdx-components.{ts,tsx}",
"./node_modules/next-docs-ui/dist/**/*.js",
],
prefix: "",
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
colors: {
"editor-rangeHighlightBackground": "var(--ch-18)",
"editor-background": "var(--ch-16)",
"editor-foreground": "var(--ch-4)",
"editor-selectionBackground": "var(--ch-20)",
"editorGroup-border": "var(--ch-23)",
"editorGroupHeader-tabsBackground": "var(--ch-22)",
"tab-activeForeground": "var(--ch-4)",
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
appear: {
from: { opacity: "0" },
to: { opacity: "1" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
appear: "appear 0.2s ease-out",
},
},
},
plugins: [require("tailwindcss-animate")],
} satisfies Config
export default config