-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
79 lines (77 loc) · 2.16 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
animation: {
wiggle: 'wiggle 2s ease-in-out infinite',
'spin-2': 'spin-2 5s ease-in-out infinite',
'text-gradient': 'text-gradient 8s linear infinite',
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-10deg)' },
'50%': { transform: 'rotate(10deg)' },
},
'spin-2': {
'0%, 80%': { transform: 'rotate(-1080deg)' },
},
'text-gradient': {
'0%': {
'text-shadow':
'-1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black',
},
'20%': {
'text-shadow':
'-1px -1px 0 red, 1px -1px 0 red, -1px 1px 0 red, 1px 1px 0 red',
},
'40%': {
'text-shadow':
'-1px -1px 0 orange, 1px -1px 0 orange, -1px 1px 0 orange, 1px 1px 0 orange',
},
'60%': {
'text-shadow':
'-1px -1px 0 green, 1px -1px 0 green, -1px 1px 0 green, 1px 1px 0 green',
},
'80%': {
'text-shadow':
'-1px -1px 0 blue, 1px -1px 0 blue, -1px 1px 0 blue, 1px 1px 0 blue',
},
'100%': {
'text-shadow':
'-1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black',
},
},
},
},
},
safelist: [
'text-[30px]',
'sm:text-[40px]',
'lg:text-[50px]',
'bg-black',
'bg-orange-600',
'bg-pink-600',
'bg-slate-800',
'after:content-["1"]',
'after:content-["2"]',
'after:content-["3"]',
'after:content-["4"]',
'after:content-["5"]',
'after:content-["6"]',
'after:content-["7"]',
'after:content-["8"]',
'after:content-["9"]',
'after:content-["10"]',
{
pattern:
/bg-(orange|sky|yellow|blue|cyan|pink|fuchsia|teal|violet|red|lime|gray|green|amber|slate)-500/,
},
],
plugins: [],
};
export default config;