-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
79 lines (79 loc) · 1.98 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
module.exports = {
mode: 'jit',
purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: false,
theme: {
extend: {
colors: {
red: {
75: '#ffeff1',
150: '#ffe6dc',
450: '#ca3e51',
550: '#aa0b20',
750: '#641e03',
850: '#4d1601',
950: '#2c0d00',
},
yellow: {
550: '#ad5502',
650: '#b94517',
750: '#8a2b06',
850: '#92320c',
880: '#7a2706;',
950: '#641e03',
980: '#5a1a01',
},
gray: {
350: '#ccc',
650: '#383838',
750: '#363636',
950: ' rgba(0, 0, 0, 0.75)',
},
},
spacing: {
25: '25rem',
'5%': '5%',
'10%': '10%',
'8/7': '110%',
},
boxShadow: {
md: '0 2px 8px rgb(0 0 0 / 25%)',
'0.5xl': '0 1px 18px 10px rgb(0 0 0 / 25%)',
},
keyframes: {
'slide-down': {
from: { opacity: 0, transform: 'translateY(-3rem)' },
to: { opacity: 1, transform: 'translateY(0)' },
},
'meals-appear': {
from: { opacity: 0, transform: 'translateY(3rem)' },
to: { opacity: 1, transform: 'translateY(0)' },
},
bump: {
'0%': { transform: 'scale(1)' },
'10%': { transform: 'scale(0.9)' },
'30%': { transform: 'scale(1.1)' },
'50%': { transform: 'scale(1.15)' },
'100%': { transform: 'scale(1)' },
},
rotate: {
'0%': { transform: 'rotate(0)' },
'100%': { transform: 'rotate(360deg)' },
},
},
animation: {
'slide-down': 'slide-down 300ms ease-out forwards',
'meals-appear': 'meals-appear 1s ease-out forwards',
bump: 'bump 300ms ease-out',
rotate: 'rotate 2s infinite linear',
},
},
},
variants: {
extend: {},
},
plugins: [],
corePlugins: {
preflight: false,
},
};