-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
81 lines (77 loc) · 2.03 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import { type Config } from "tailwindcss";
import scrollbar from "tailwind-scrollbar";
export default {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "class",
theme: {
extend: {
colors: {
"base-100": "var(--color-base-100)",
"base-200": "var(--color-base-200)",
"base-300": "var(--color-base-300)",
"neutral-100": "var(--color-neutral-100)",
"neutral-200": "var(--color-neutral-200)",
"neutral-300": "var(--color-neutral-300)",
primary: "var(--color-primary)",
secondary: "var(--color-secondary)",
accent: "var(--color-accent)",
warning: "var(--color-warning)",
"error": "var(--color-error)",
success: "var(--color-success)",
info: "var(--color-info)",
"link-hover": "var(--color-link-hover)",
},
animation: {
draw: "draw 2s linear normal",
},
},
keyframes: {
draw: {
to: { strokeDashoffset: "200" },
},
},
fontFamily: {
sans: [
'"InterVariable"',
"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"',
],
serif: ["ui-serif", "Georgia"],
mono: [
'"JetBrains Mono"',
"monospace",
"ui-monospace",
"Menlo",
"Monaco",
'"Cascadia Mono"',
'"Segoe UI Mono"',
'"Roboto Mono"',
'"Oxygen Mono"',
'"Ubuntu Monospace"',
'"Source Code Pro"',
'"Fira Mono"',
'"Droid Sans Mono"',
'"Courier New"',
],
},
},
plugins: [scrollbar({ nocompatible: true })],
} satisfies Config;