-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
87 lines (86 loc) · 2.27 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
80
81
82
83
84
85
86
87
import type { Config } from "tailwindcss";
import { PluginAPI } from "tailwindcss/types/config";
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: {
screens: {
xs: "480px",
},
fontFamily: {
mundial: ["mundial, sans-serif"],
kintoSans: ["kinto-sans, sans-serif"],
},
fontWeight: {
"mundial-thin": "100",
"mundial-light": "300",
"mundial-regular": "400",
"mundial-demibold": "600",
"kintoSans-regular": "400",
"kintoSans-medium": "500",
},
colors: {
main: {
green: "#93CA88",
black: "#313131",
},
},
transitionTimingFunction: {
buttonHover: "cubic-bezier(.15,-0.05,.98,0)",
},
backgroundImage: {
fvGradient:
"radial-gradient(circle, rgba(27,196,125,1) 38%, rgba(24,160,251,1) 55%, rgba(144,124,255,1) 70%)",
memberFilter:
"linear-gradient(90deg, rgba(26,22,22,1) 0%, rgba(0,0,0,0) 100%)",
memberFilterSP:
"linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(26,22,22,1) 100%)",
},
animation: {
"spin-gradient": "spin-gradient 20s linear infinite",
"roll-text": "roll-text 20s linear infinite",
},
keyframes: {
"spin-gradient": {
"0%": {
backgroundPosition: "25% center",
// backgroundSize: "200%",
},
"50%": {
backgroundPosition: "-50% center",
// backgroundSize: "100%",
},
"100%": {
backgroundPosition: "25% center",
// backgroundSize: "200%",
},
},
"roll-text": {
"0%": {
transform: "translateX(0)",
},
"100%": {
transform: "translateX(-102%)",
},
},
},
},
},
plugins: [
function ({ addUtilities }: PluginAPI) {
const newUtilities = {
".absolute-center": {
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
},
};
addUtilities(newUtilities);
},
],
};
export default config;