-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
59 lines (58 loc) · 1.56 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
import type { Config } from "tailwindcss";
const config: Config = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
black: "#08121f",
white: "#efefef",
"pure-white": "#ffffff",
"wai-gray": "#3c3c3c",
purple: "#6D60C1",
lavender: "#A6A6E2",
custard: "#F7F1AA",
"blue-green": "#008E93",
"dull-blue-green": "#C4DDDC",
},
extend: {
dropShadow: {
"sm-wai-gray": "0 1px 1px rgba(60, 60, 60, 0.25)",
"lg-wai-gray": "0 20px 13px rgba(60, 60, 60, 0.25)",
},
backgroundSize: {
'200%': '200%',
},
keyframes: {
colourPulse: {
"0%, 100%": {
"stop-color": "#3c3c3c",
},
"50%": { "stop-color": "#6D60C1" },
},
shine: {
'0%': { 'background-position': '0% 50%' },
'100%': { 'background-position': '200% 50%' },
},
text: {
"0%, 100%": {
"background-size": "200% 200%",
"background-position": "left center",
},
"50%": {
"background-size": "200% 200%",
"background-position": "right center",
},
},
},
animation: {
colourPulse: "colourPulse 10s ease-in-out infinite",
colourPulseOffset: "colourPulse 10s ease-in-out infinite -5s",
shine: 'shine 5s linear infinite',
text: "text 1.5s ease-in-out infinite",
},
},
},
plugins: [],
};
export default config;