-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
105 lines (102 loc) · 2.71 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['class', '[data-theme="dark"]'],
content: [
'./src/app/**/*.{ts,tsx}',
'./src/components/**/*.{ts,tsx}',
'./src/stories/**/*.{mdx,tsx}',
],
theme: {
extend: {
gridTemplateColumns: {
default: 'minmax(200px, 300px) 1fr minmax(200px, 300px)',
'section-1': '200px 1fr',
'section-content': '1fr 275px',
},
gridTemplateRows: {
'stories-docs': '5.5rem 1fr',
},
fontFamily: {
sans: ['var(--font-sans)'],
},
animation: {
'scroll-left': 'scroll 10s linear infinite',
},
colors: {
celestial: {
500: 'hsl(var(--celestial-500))',
},
red: {
300: 'hsl(var(--red-300))',
},
blue: {
700: 'hsl(var(--blue-700))',
},
amethyst: {
400: 'hsl(var(--amethyst-400))',
},
ice: {
300: 'hsl(var(--ice-300))',
},
gray: {
400: 'hsl(var(--gray-400))',
900: 'hsl(var(--gray-900))',
},
green: {
200: 'hsl(var(--green-200))',
300: 'hsl(var(--green-300))',
},
zinc: {
400: 'hsl(var(--zinc-400))',
},
slate: {
500: 'hsl(var(--slate-500))',
600: 'hsl(var(--slate-600))',
},
neutral: {
800: 'hsl(var(--neutral-800))',
950: 'hsl(var(--neutral-950))',
},
stone: {
900: 'hsl(var(--stone-900))',
},
rose: {
200: 'hsl(var(--rose-200))',
250: 'hsl(var(--rose-250))',
},
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
primary: {
DEFAULT: 'hsl(var(--primary))',
foreground: 'hsl(var(--primary-foreground))',
},
secondary: {
DEFAULT: 'hsl(var(--secondary))',
'blue-300': 'hsl(var(--secondary-blue-300))',
'neutral-300': 'hsl(var(--secondary-neutral-300))',
},
muted: {
DEFAULT: 'hsl(var(--muted))',
foreground: 'hsl(var(--muted-foreground))',
},
accent: {
DEFAULT: 'hsl(var(--accent))',
foreground: 'hsl(var(--accent-foreground))',
},
},
borderRadius: {
xl: `calc(var(--radius) + 4px)`,
lg: `var(--radius)`,
md: `calc(var(--radius) - 2px)`,
sm: 'calc(var(--radius) - 4px)',
},
keyframes: {
scroll: {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(calc(-100% - 1rem))' },
},
},
},
},
plugins: [require('tailwindcss-animated')],
}