-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
79 lines (77 loc) · 2.03 KB
/
tailwind.config.ts
File metadata and controls
79 lines (77 loc) · 2.03 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
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
import type { Config } from 'tailwindcss'
const config: Config = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
primary: '#8CB468',
'text-primary': '#1E1E1E',
'text-secondary': '#5A5A5A',
background: '#F8F9FA',
border: '#E5E7EB',
success: '#9DD596',
warning: '#F9CF58',
error: '#E57373',
'neutral-gray': '#F1F3F5',
},
fontFamily: {
sans: ['Montserrat', 'system-ui', 'sans-serif'],
},
fontSize: {
'h1': ['40px', { lineHeight: '1.2', fontWeight: '700' }],
'h2': ['32px', { lineHeight: '1.25', fontWeight: '600' }],
'h3': ['24px', { lineHeight: '1.3', fontWeight: '600' }],
'body': ['16px', { lineHeight: '1.5', fontWeight: '400' }],
'caption': ['13px', { lineHeight: '1.4', fontWeight: '400' }],
},
maxWidth: {
'page': '1280px',
},
spacing: {
'18': '4.5rem',
'88': '22rem',
'128': '32rem',
},
borderRadius: {
'xl': '0.75rem',
'2xl': '1rem',
'3xl': '1.5rem',
},
boxShadow: {
'none': 'none',
},
animation: {
'fade-in': 'fadeIn 0.5s ease-in-out',
'slide-up': 'slideUp 0.3s ease-out',
'shimmer': 'shimmer 2s infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(10px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
shimmer: {
'0%': { backgroundPosition: '-200% 0' },
'100%': { backgroundPosition: '200% 0' },
},
},
screens: {
'xs': '475px',
},
gridTemplateColumns: {
'13': 'repeat(13, minmax(0, 1fr))',
},
},
},
plugins: [],
darkMode: 'class',
}
export default config