-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
88 lines (88 loc) · 1.95 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
'./node_modules/flowbite/**/*.js',
'./node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}',
'./node_modules/flowbite-react/lib/esm/**/*.js',
],
theme: {
fontSize: {
xs: '.75rem',
sm: '.875rem',
tiny: '.875rem',
base: '1rem',
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '3rem',
'6xl': '4rem',
'7xl': '5rem',
'8xl': '6rem',
},
screens: {
xs: '320px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
},
fontFamily: {
sans: ['Graphik', 'sans-serif'],
serif: ['Merriweather', 'serif'],
},
extend: {
keyframes: {
fadeIn: {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
fadeOut: {
'0%': { opacity: 1 },
'100%': { opacity: 0 },
},
},
animation: {
fadeIn: 'fadeIn 0.5s ease-in-out',
fadeOut: 'fadeOut 0.5s ease-in-out',
},
colors: {
primary: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
},
},
spacing: {
70: '17.5rem',
72: '18rem',
74: '18.5rem',
76: '19rem',
78: '19.5rem',
80: '20rem',
92: '23rem',
128: '32rem',
144: '36rem',
160: '40rem',
'8xl': '96rem',
'9xl': '128rem',
},
borderRadius: {
'4xl': '2rem',
},
},
},
plugins: [require('flowbite/plugin'), require('flowbite-typography')],
};