-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.ts
148 lines (146 loc) · 3.98 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line import/no-anonymous-default-export
export default {
darkMode: ['class'],
content: [
'./src/pages/**/*.{ts,tsx}',
'./src/components/**/*.{ts,tsx}',
'./src/app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
],
theme: {
screens: {
xs: '375px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
xxl: '1536px',
},
colors: {
gray: {
0: '#ffffff',
50: '#e6e6e6',
200: '#b3b3b3',
400: '#808080',
800: '#4d4d4d',
900: '#101010',
},
blue: {
0: '#d4d3f8',
50: '#aeadf1',
200: '#7977e8',
400: '#2825da',
800: '#181683',
},
red: {
0: '#f8d4d3',
200: '#e97e7c',
800: '#ca2522',
},
green: {
0: '#d3f8d4',
200: '#7ce97e',
800: '#22ca25',
},
// white: {
// 0: 'rgb(255, 255, 255) / <alpha-value>', // #FFFFFF
// 100: 'rgb(247, 247, 247) / <alpha-value>', // #F7F7F7
// 200: 'rgb(240, 240, 240) / <alpha-value>', // #F0F0F0
// 300: 'rgb(234, 234, 234) / <alpha-value>', // #EAEAEA
// 400: 'rgb(224, 224, 224) / <alpha-value>', // #E0E0E0
// 500: 'rgb(214, 214, 214) / <alpha-value>', // #D6D6D6
// 600: 'rgb(204, 204, 204) / <alpha-value>', // #CCCCCC
// 700: 'rgb(179, 179, 179) / <alpha-value>', // #B3B3B3
// 800: 'rgb(153, 153, 153) / <alpha-value>', // #999999
// 900: 'rgb(102, 102, 102) / <alpha-value>', // #666666
// 1000: 'rgb(51, 51, 51) / <alpha-value>', // #333333
// },
},
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px',
},
},
extend: {
fontFamily: {
quicksand: 'var(--font-quicksand)',
inter: 'var(--font-inter)',
},
backgroundImage: {
'custom-gradient': 'linear-gradient(180deg, #FFF 0%, #E1F7E4 100%)',
},
colors: {
ring: 'hsl(var(--ring))',
border: 'hsl(var(--border))',
foreground: 'hsl(var(--foreground))',
background: '#ffffff',
primary: {
DEFAULT: 'hsl(var(--primary))',
foreground: 'hsl(var(--primary-foreground))',
},
secondary: {
DEFAULT: 'hsl(var(--secondary))',
foreground: 'hsl(var(--secondary-foreground))',
},
destructive: {
DEFAULT: 'hsl(var(--destructive))',
foreground: 'hsl(var(--destructive-foreground))',
},
muted: {
DEFAULT: 'hsl(var(--muted))',
foreground: 'hsl(var(--muted-foreground))',
},
accent: {
DEFAULT: 'hsl(var(--accent))',
foreground: 'hsl(var(--accent-foreground))',
},
popover: {
DEFAULT: 'hsl(var(--popover))',
foreground: 'hsl(var(--popover-foreground))',
},
card: {
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))',
},
chart: {
'1': 'hsl(var(--chart-1))',
'2': 'hsl(var(--chart-2))',
'3': 'hsl(var(--chart-3))',
'4': 'hsl(var(--chart-4))',
'5': 'hsl(var(--chart-5))',
},
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
},
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',
},
},
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
},
},
},
plugins: [require('tailwindcss-animate')],
}