-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
84 lines (84 loc) · 2.89 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
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
safelist: [
{
pattern: /basis-\d{1,2}\/\d{1,2}/,
variants: ["sm", "md", "lg", "xl", "2xl"],
},
{
pattern: /basis-full/,
variants: ["sm", "md", "lg", "xl", "2xl"],
},
],
theme: {
extend: {
keyframes: {
transformA: {
"0%": { borderRadius: "33% 67% 70% 30% / 30% 30% 70% 70%" },
"20%": { borderRadius: "37% 63% 51% 49% / 37% 65% 35% 63%" },
"40%": { borderRadius: "36% 64% 64% 36% / 64% 48% 52% 36%" },
"60%": { borderRadius: "37% 63% 51% 49% / 30% 30% 70% 70%" },
"80%": { borderRadius: "40% 60% 42% 58% / 41% 51% 49% 59%" },
"100%": { borderRadius: "33% 67% 70% 30% / 30% 30% 70% 70%" },
},
transformB: {
"0%": { borderRadius: "33% 67% 70% 30% / 30% 30% 70% 70%" },
"20%": { borderRadius: "40% 60% 42% 58% / 41% 51% 49% 59%" },
"40%": { borderRadius: "37% 63% 51% 49% / 30% 30% 70% 70%" },
"60%": { borderRadius: "33% 67% 70% 30% / 30% 30% 70% 70%" },
"80%": { borderRadius: "37% 63% 51% 49% / 37% 65% 35% 63%" },
"100%": { borderRadius: "36% 64% 64% 36% / 64% 48% 52% 36%" },
},
fading: {
"0%": { opacity: 0.5 },
"15%": { opacity: 0.7 },
"40%": { opacity: 1 },
"60%": { opacity: 1 },
"85%": { opacity: 0.7 },
"100%": { opacity: 0.5 },
},
swayLeftToRight: {
from: { transform: "translate(-100%, 0%)" },
to: { transform: "translate(0%, 100%)" },
},
swayRightToLeft: {
from: { transform: "translate(100%, 0%)" },
to: { transform: "translate(0%, -100%)" },
},
floatUp: {
to: { transform: "translateY(-175vh)" },
},
},
animation: {
blobFadingA:
"transformA 5s ease-in-out infinite both alternate, fading 6s infinite ease-in-out, swayLeftToRight 20s ease-in-out infinite both alternate",
blobFadingB:
"transformB 5s ease-in-out infinite both alternate, fading 6s infinite ease-in-out, swayRightToLeft 20s ease-in-out infinite both alternate",
blobFloatUp:
"transformA 5s ease-in-out infinite both alternate, floatUp 5s ease-in infinite",
},
},
colors: {
currentColor: "currentColor",
transparent: "transparent",
primary: "#001634",
secondary: "#B4C6DD",
danger: "#FA5C6C",
success: "#4DA167",
"dark-blue": "#001634",
"bold-blue": "#0E2D56",
"medium-blue": "#274A78",
"light-blue": "#4B6D9A",
"lighter-blue": "#7A96BB",
"lightest-blue": "#B4C6DD",
white: "#F9FCFF",
},
fontFamily: {
sans: ["Noto Sans", "Noto Sans Thai", "sans-serif"],
// serif: ['Merriweather', 'serif'],
},
},
};