-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
85 lines (82 loc) · 2.88 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/** @type {import('tailwindcss').Config} */
const withMT = require("@material-tailwind/react/utils/withMT");
module.exports = withMT({
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"path-to-your-node_modules/@material-tailwind/react/components/**/*.{js,ts,jsx,tsx}",
"path-to-your-node_modules/@material-tailwind/react/theme/components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
boxShadow: {
'low-info': '0 10px 20px rgba(59, 130, 246, 0.2)',
'high-info': '0 10px 20px rgba(59, 130, 246, 0.4)',
'low-danger': '0 10px 20px rgba(239, 68, 68, 0.2)',
'high-danger': '0 10px 20px rgba(239, 68, 68, 0.4)',
'low-edit': '0 10px 20px rgba(16, 185, 129, 0.2)',
'high-edit': '0 10px 20px rgba(16, 185, 129, 0.4)',
'low-cancel': '0 10px 20px rgba(84, 27, 138, 0.2)',
'high-cancel': '0 10px 20px rgba(84, 27, 138, 0.4)',
'main-card': '0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)',
'low-box-shadow': '0 10px 20px rgba(0, 0, 0, 0.3)',
'high-box-shadow': '0 10px 20px rgba(0, 0, 0, 0.6)',
'multiple-box-shadow': 'rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px',
'btn-box-shadow': '0px 0px 46px 0px rgba(59, 130, 246, 1)',
},
translate: {
'(25%)': '25%',
},
colors: {
'cancel': 'hsla(280, 95%, 57%, 1)',
'danger': '#EF4444',
'warning': '#F59E0B',
'info': '#3B82F6',
'low-info': 'rgba(59, 130, 246, 0.4)',
'edit': '#10B981',
'b-rgba-1': 'rgba(0, 0, 0, 0.1)',
'b-rgba-2': 'rgba(0, 0, 0, 0.2)',
'b-rgba-3': 'rgba(0, 0, 0, 0.3)',
'b-rgba-4': 'rgba(0, 0, 0, 0.4)',
'b-rgba-5': 'rgba(0, 0, 0, 0.5)',
'b-rgba-6': 'rgba(0, 0, 0, 0.6)',
'b-rgba-7': 'rgba(0, 0, 0, 0.7)',
'b-rgba-8': 'rgba(0, 0, 0, 0.8)',
'b-rgba-9': 'rgba(0, 0, 0, 0.9)',
'b-rgba-10': 'rgba(0, 0, 0, 1)',
},
},
screens: {
'mobile': '300px',
'tablet': '600px',
'laptop': '1000px',
'desktop': '1600px',
},
animation: {
'text-wave': 'textWave 6s infinite',
'shake-y': 'shakkeY 10s infinite ease-in-out',
'opacity-on': 'opacityOn 0.5s ease-in',
'slow-opacity-on': 'slowOpacityOn 1s ease-in',
},
keyframes: {
textWave: {
'0%, 16.667%, 100%': { opacity: '1' },
'33.333%, 83.333%': { opacity: '0' },
},
shakkeY: {
'0%, 100%': { transform: 'translateY(0)' },
'10%, 30%, 50%, 70%, 90%': { transform: 'translateY(-10px)' },
'20%, 40%, 60%, 80%': { transform: 'translateY(10px)' },
},
opacityOn: {
'0%': { opacity: '0'},
'100%': { opacity: '1' },
},
slowOpacityOn: {
'0%, 70%': { opacity: '0'},
'100%': { opacity: '1' },
}
},
},
plugins: [require("daisyui")],
})