-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
49 lines (48 loc) · 1.13 KB
/
tailwind.config.ts
File metadata and controls
49 lines (48 loc) · 1.13 KB
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
import type { Config } from 'tailwindcss';
export default {
darkMode: ['class'],
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
backgroundColor: {
headerMain: '#F1F5F9',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
fadeOut: {
'0%': { opacity: '1' },
'100%': { opacity: '0' },
},
},
animation: {
fadeIn: 'fadeIn 0.15s ease-in-out',
fadeOut: 'fadeOut 0.15s ease-in-out',
},
colors: {
background: 'var(--background)',
foreground: 'var(--foreground)',
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
},
maxWidth: {
custom: '1240px',
},
screens: {
mobile: '430px',
tablet: '768px',
desktop: '1240px',
},
},
},
plugins: [require('tailwindcss-animate')],
} satisfies Config;