-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
58 lines (58 loc) · 1.85 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
module.exports = {
content: ['./resources/**/*.blade.php', './resources/**/*.js', './resources/**/*.vue'],
theme: {
extend: {
animation: {
grow: 'grow 300ms ease-in-out 800ms forwards, grow 300ms ease-in-out 1900ms reverse forwards',
peek: 'peek 300ms ease-in-out 800ms forwards, peek 300ms ease-in-out 1900ms reverse forwards',
},
borderWidth: {
1: '1px',
},
keyframes: (theme) => ({
peek: {
'0%': { transform: 'translateY(0)' },
'100%': { transform: 'translateY(max(-50vw, -16rem))' },
},
grow: {
'0%': {
color: theme('colors.white'),
fontSize: theme('fontSize.sm'),
},
'100%': {
color: theme('colors.green'),
fontSize: theme('fontSize.base'),
},
},
}),
padding: (theme) => ({
bar: `calc(1.5 * ${theme('fontSize.sm')} + ${theme('spacing.8')})`,
full: '100%',
}),
strokeWidth: {
3: '3',
},
},
colors: {
none: 'none',
black: '#000',
white: '#fff',
red: '#f44336',
green: '#0DF043',
gray: {
softest: '#DDDEE3',
soft: '#B9BBC6',
medium: '#A0A1B1',
dark: '#6D6E7D',
},
transparent: 'transparent',
},
fontFamily: {
sans: ['Scto Grotesk A', 'sans-serif'],
},
},
corePlugins: {
aspectRatio: false,
},
plugins: [require('@tailwindcss/aspect-ratio')],
}