-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
109 lines (109 loc) · 2.54 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
primary: {
150: '#00A878',
100: '#6CC17A', // green = primary
75: '#86CC92',
50: '#A1D7AA',
25: '#BCE2C2',
10: '#D6EEDA',
5: '#E4F3E6',
},
secondary: {
150: '#62C332',
100: '#8CD867',
50: '#ABE290',
20: '#CDEFBD',
},
yellow: {
150: '#D4CE21',
100: '#E5E059',
50: '#EFEC9C',
20: '#F1EDA7',
},
orange: {
150: '#F59700',
100: '#FFC15E',
20: '#FFE0AD',
10: '#FFEED2',
5: '#FFF7E9',
},
gray: {
25: '#3e3e3e',
35: '#5a5a5a',
50: '#808080',
60: '#9a9a9a',
75: '#c0c0c0',
85: '#dadada',
90: '#e5e5e5',
95: '#f2f2f2',
98: '#fafafa',
},
white: '#fff',
black: '#121212',
negative: {
150: '#AD705F',
100: '#FF8360',
75: '#DD9F8D',
60: '#FBAD97',
50: '#DBB5AB',
25: '#EBD3CD',
10: '#F9F0F0',
5: '#FAF5F4',
},
},
fontSize: {
xxs: '0.875rem',
xs: '1rem',
'xs+': '1.125rem',
sm: '1.25rem', // text (20px)
md: '1.5rem', // h2
lg: '1.75rem',
xl: '2.125rem', // h1
xxl: '2.625rem',
},
fontWeight: {
light: '300',
bold: '600',
massive: '800',
},
extend: {
fontFamily: {
sans: ['var(--font-work-sans)'],
},
boxShadow: {
'button-primary': '0 4px #00A878',
'button-secondary': '0 4px #a8a8a8',
'button-caution': '0 4px #AD705F',
modal: '0 20px 25px -5px rgb(0 0 0 / 0.2), 0 8px 10px -6px rgb(0 0 0 / 0.2);',
card: '0 4px 24px #bbb',
},
lineHeight: {
terse: 1.125,
},
screens: {
xxs: '380px',
xs: '480px',
},
keyframes: {
fadeIn: { '0%': { opacity: '0' }, '100%': { opacity: '1' } },
wobble: { '0%, 100%': { transform: 'scale(0)' }, '50%': { transform: 'scale(1)' } },
slideIn: {
'0%': { transform: 'translateY(-50px)' },
'100%': { transform: 'translateY(0)' },
},
},
animation: {
'fade-in': 'fadeIn 0.5s ease-in forwards',
bounce: 'wobble 2s infinite ease-in-out',
'slide-in': 'slideIn 0.2s ease-out',
},
},
},
plugins: [],
};