-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
81 lines (78 loc) · 2.17 KB
/
tailwind.config.ts
File metadata and controls
81 lines (78 loc) · 2.17 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
80
81
import type { Config } from 'tailwindcss';
const createPxEntries = (size: number) => ({
0: '0',
...Array.from(Array(size + 1)).reduce((accumulator, _, i) => ({
...accumulator,
[`${i * 4}`]: `${(i * 4) / 10}rem`,
})),
});
const PX_ENTRIES = createPxEntries(100);
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
keyframes: {
'bottom-sheet-up': {
'0%': { transform: 'translateY(420px)' },
'100%': { transform: 'translateY(0)' },
},
'bottom-sheet-down': {
'0%': { transform: 'translateY(0)' },
'100%': { transform: 'translateY(420px)' },
},
},
},
colors: {
white: '#FDFDFD',
textDisabled: '#999999',
black: '#222222',
darkGrey: '#666666',
midGrey: '#888888',
lightGrey: '#DDDDDD',
bgGrey: '#EEEEEE',
primary: '#1EA49A',
primaryDark: '#1B8981',
primaryLight: '#DEEBEA',
primaryMedium: '#B4DCD9',
secondary: '#FF95B9',
secondaryDark: '#FD7FAA',
secondaryDarkSet: '#F674A0',
modalBackground: 'rgba(34, 34, 34, 0.20)',
notiBackground: 'rgba(30, 164, 154, 0.20)',
hoverBackground: 'rgba(221, 221, 221, 0.30)',
introduceOddBackground: 'rgba(30, 164, 154, 0.20)',
introduceEvenBackground: 'rgba(255, 149, 185, 0.20)',
},
spacing: PX_ENTRIES,
fontSize: {
12: '1.2rem',
14: '1.4rem',
16: '1.6rem',
18: '1.8rem',
20: '2.0rem',
22: '2.2rem',
24: '2.4rem',
},
fontWeight: {
400: '400',
500: '500',
600: '600',
700: '700',
},
boxShadow: {
custom: '0px 6px 6px 0px rgba(34, 34, 34, 0.10)',
dropShadow: '0 2px 2px 0 rgba(34, 34, 34, 0.10)',
borderShadow: '0 4px 24px 0 rgba(34, 34, 34, 0.08)',
},
},
plugins: [],
};
export default config;