-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.config.js
69 lines (69 loc) · 1.77 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./pages/**/*.{js,ts,jsx,tsx,mdx}', './components/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
raleway: ['var(--raleway-font)', 'system-ui', 'sans-serif'],
},
fontSize: {
'2xs': '0.65rem',
xs: '0.75rem',
sm: '0.875rem',
base: '1rem',
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '4.2rem',
'6xl': '6rem',
'7xl': '7rem',
'8xl': '8rem',
'9xl': '4rem',
},
animation: {
// Tooltip
'slide-up-fade': 'slide-up-fade 0.3s cubic-bezier(0.16, 1, 0.3, 1)',
'slide-down-fade': 'slide-down-fade 0.3s cubic-bezier(0.16, 1, 0.3, 1)',
},
keyframes: {
// Tooltip
'slide-up-fade': {
'0%': { opacity: 0, transform: 'translateY(6px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
'slide-down-fade': {
'0%': { opacity: 0, transform: 'translateY(-6px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
},
colors: {
gray: {
100: '#f7fafc',
200: '#edf2f7',
300: '#e2e8f0',
400: '#cbd5e0',
500: '#a0aec0',
600: '#718096',
700: '#4a5568',
800: '#2d3748',
900: '#1a202c',
},
blue: {
100: '#ebf8ff',
200: '#bee3f8',
300: '#90cdf4',
400: '#63b3ed',
500: '#4299e1',
600: '#3182ce',
700: '#2b6cb0',
800: '#2c5282',
900: '#2a4365',
},
},
},
},
plugins: [],
}