forked from midudev/miduconf-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
71 lines (71 loc) · 1.69 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
/** @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: {
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(215deg) translateX(0)', opacity: 1 },
'70%': { opacity: 1 },
'100%': {
transform: 'rotate(215deg) translateX(-500px)',
opacity: 0
}
}
},
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))'
}
}
},
plugins: [require('flowbite/plugin'), require('tailwindcss-textshadow')]
}