forked from ethereum-optimism/ecosystem-contributions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
80 lines (79 loc) · 2.33 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
'./pages/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./app/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
'./public/*.{ts,tsx}',
],
theme: {
extend: {
fontFamily:{
inter: "var(--font-inter)",
rubik: "var(--font-rubik)",
},
colors: {
primaryRed: {
DEFAULT: "#DB3A28",
},
secondaryRed: {
DEFAULT: "#FEF3F2",
}
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
slowfade: {
from: { opacity: "0" },
to: { opacity: "1" },
},
slideup: {
from: { opacity: "0", transform: 'translateY(25%)' },
to: { opacity: "1", transform: 'none' },
},
slidedown: {
from: { opacity: "0", transform: 'translateY(-25%)' },
to: { opacity: "1", transform: 'none' },
},
slideleft: {
from: { opacity: "0", transform: 'translateX(-20%)' },
to: { opacity: "1", transform: 'translateX(0)' },
},
slideright: {
from: { opacity: "0", transform: 'translateX(20%)' },
to: { opacity: "1", transform: 'translateX(0)' },
},
wave: {
'0%': { transform: 'scale(0)' },
'50%': { transform: 'scale(1)' },
'100%': { transform: 'scale(0)' },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
slideup: 'slideup 0.5s ease-in-out',
slidedown: 'slidedown 0.5s ease-in-out',
slideleft: 'slideleft 0.5s ease-in-out',
slideright: 'slideright 0.5s ease-in-out',
wave: 'wave 0.5s linear infinite',
slowfade: 'slowfade 0.5s ease-in-out',
},
},
},
plugins: [],
};
export default config;