-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
83 lines (81 loc) · 1.89 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./app/.internal/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
colors: {
neutral: {
50: '#fafafa',
75: '#f8f8f8',
100: '#f5f5f5',
200: '#e5e5e5',
300: '#d4d4d4',
400: '#a3a3a3',
500: '#737373',
600: '#525252',
700: '#404040',
800: '#262626',
850: '#1e1e1e',
900: '#171717',
950: '#0a0a0a',
},
white: {
DEFAULT: '#ffffff',
},
'main-orange': {
DEFAULT: '#ff6914',
dark: '#e65817',
},
link: {
DEFAULT: '#3c7be4',
},
visited: {
// TBD
DEFAULT: '#ff0000',
},
transparent: 'transparent',
},
fontSize: {
xs: '0.75rem', // 12px
sm: '0.8125rem', // 13px changed
md: '0.875rem', // 14px changed
base: '1rem', // 16px
lg: '1.125rem', // 18px
xl: '1.375rem', // 22px changed
'2xl': '1.5rem', // 24px
'3xl': '1.875rem', // 30px
},
extend: {
keyframes: {
stretch: {
'0%': { width: '10px' },
'100%': { width: '100%' },
},
fadeIn: {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
arrowBounce: {
'0%, 100%': {
transform: 'translateY(-25%)',
'animation-timing-function': 'cubic-bezier(0.8,0,1,1)',
},
'50%': {
transform: 'none',
'animation-timing-function': 'cubic-bezier(0,0,0.2,1)',
},
},
},
animation: {
stretch: 'stretch 0.7s ease-out',
fadeIn: 'fadeIn 2s ease-out',
arrowBounce: 'bounce 2s infinite;',
},
},
},
plugins: [],
};