-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.cjs
66 lines (62 loc) · 1.35 KB
/
tailwind.config.cjs
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
const config = {
content: [
'./src/**/*.{html,js,svelte,ts}',
'./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}'
],
theme: {
extend: {
colors: {
'dark-white': '#F7F7F7',
black: '#111827',
'dark-grey': '#1F2937',
grey: '#374151',
'light-grey': '#6B7280',
red: '#DA3C2B',
yellow: '#DD972A',
green: '#057A55'
},
fontFamily: {
Roboto: ['Roboto', 'sans-serif'],
Raleway: ['Raleway', 'sans-serif']
},
animation: {
blink: 'blink 4s linear infinite',
eyes: 'eyes 10s ease-in-out infinite'
},
keyframes: {
blink: {
'0%, 96%': { transform: 'scaleY(1)' },
'98%': { transform: 'scaleY(0.1)' }
},
eyes: {
'0%, 25%, 50%, 75%': { transform: 'translate(0, 0)' },
'30%, 45%': { transform: 'translate(-10px, 0)' },
'80%, 95%': { transform: 'translate(10px, 0)' }
}
},
boxShadow: {
'box-light': '0 10px 50px 0 rgba(17, 24, 39, .05)',
'box-dark': '0 10px 50px 0 rgba(247, 247, 247, .02)'
}
}
},
safelist: [
'object-bottom',
'object-center',
'object-left',
'object-left-bottom',
'object-left-top',
'object-right',
'object-right-bottom',
'object-right-top',
'object-top',
'w-[50%]',
'w-[33%]',
'left-[50%]',
'left-[33%]',
'left-[66%]'
],
plugins: [require('flowbite/plugin')],
darkMode: 'media'
};
module.exports = config;