-
Notifications
You must be signed in to change notification settings - Fork 129
/
tailwind.config.js
88 lines (88 loc) · 2.18 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
80
81
82
83
84
85
86
87
88
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/sections/**/*.{js,ts,jsx,tsx}',
'./src/app/**/*.{js,ts,jsx,tsx}',
'./src/flavors/*.{js,ts,jsx,tsx}',
'./node_modules/flowbite/**/*.js'
],
theme: {
extend: {
dropShadow: {
gift: '3px 4px 8px rgba(0, 0, 0, 0.4)'
},
boxShadow: {
button:
'inset 0 6px 12px #4C64D2, 0 0 17px rgba(110, 137, 255, 0.77), inset 0 1px 10px rgba(255, 255, 255, 0.55)',
['button-hover']:
' inset 0 6px 12px #4C64D2, 0 0 34px rgba(110, 137, 255, 0.77), inset 0 1px 10px rgba(255, 255, 255, 0.55)'
},
animation: {
marquee: 'marquee var(--duration) linear infinite',
meteor: 'meteor 5s linear infinite',
'text-gradient': 'text-gradient 1.5s linear infinite',
spin: 'spin calc(var(--speed) * 2) infinite linear',
slide: 'slide var(--speed) ease-in-out infinite alternate'
},
keyframes: {
marquee: {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(calc(-50% - var(--gap)/2))' }
},
'text-gradient': {
to: {
backgroundPosition: '200% center'
}
},
spin: {
'0%': {
rotate: '0deg'
},
'15%, 35%': {
rotate: '90deg'
},
'65%, 85%': {
rotate: '270deg'
},
'100%': {
rotate: '360deg'
}
},
slide: {
to: {
transform: 'translate(calc(100cqw - 100%), 0)'
}
},
meteor: {
'0%': { transform: 'rotate(-40deg) translateX(0)', opacity: 0 },
'30%': { opacity: 1 },
'100%': {
transform: 'rotate(-40deg) translateX(-500px)',
opacity: 0
}
}
},
screens: {
base: '1000px'
},
colors: {
midu: {
primary: '#0099FF',
secondary: '#DEF2FF'
}
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
button: 'linear-gradient(to bottom, #3152DF95, #1E254595)'
}
}
},
plugins: [
require('flowbite/plugin'),
require('tailwindcss-textshadow'),
require('@midudev/tailwind-animations')
]
}