-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
135 lines (133 loc) · 3.25 KB
/
tailwind.config.ts
File metadata and controls
135 lines (133 loc) · 3.25 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
import colors from "tailwindcss/colors";
import defaultTheme from "tailwindcss/defaultTheme";
import typography from "@tailwindcss/typography";
import forms from "@tailwindcss/forms";
import lineClamp from "@tailwindcss/line-clamp";
export const rainbowGradient =
"linear-gradient(170deg, #FFD6C9 10%, #B8D9E7 40%, #ABE3EB 60%, #F2DD9E 90%)";
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
fontFamily: {
sans: ['"Modern Era"', ...defaultTheme.fontFamily.sans],
mono: ['"DM Mono"', ...defaultTheme.fontFamily.mono],
},
extend: {
animation: {
"pulse-scale": "pulse-scale 2s ease-in-out infinite",
},
backgroundImage: {
"rainbow-gradient": rainbowGradient,
},
colors: {
transparent: "transparent",
black: "#000",
white: "#FFF",
grey: {
50: "#F3F3F5",
75: "#F7F7F7",
100: "#EBEBEB",
150: "#F3F3F5",
200: "#C4C1CF",
250: "#BEBEBE",
300: "#A7A2B6",
400: "#555", // "#757087",
500: "#0E0333",
},
blue: {
...colors.blue,
100: "#D3EDFE",
200: "#15B8DC",
300: "#5F94BC",
500: "#4881AD",
800: "#15003E",
},
green: {
...colors.green,
50: "#DCF5F2",
100: "#ADEDE5",
200: "#47A095",
300: "rgba(0, 67, 59, 1)",
},
orange: {
...colors.orange,
100: "#FFD9CD",
},
violet: {
100: "#F0EBFF",
200: "#C9B8FF",
300: "#8C65F7",
400: "#6F3FF5",
500: "#5932C4",
},
teal: {
100: "#E6FFF9",
200: "#B3FFED",
300: "#5BF1CD",
400: "#02E2AC",
500: "#11BC92",
},
pink: {
100: "#FDDEE4",
200: "#FAADBF",
300: "#F579A6",
400: "#F3587D",
500: "#D03E63",
},
yellow: {
100: "#FFF8DB",
200: "#FFEEA8",
300: "#FFDB4C",
400: "#FFCC00",
500: "#E1B815",
},
red: {
100: "#D44D6E",
},
"gitcoin-violet": {
100: "#F0EBFF",
200: "#C9B8FF",
300: "#8C65F7",
400: "#6F3FF5",
500: "#5932C4",
},
"rainbow-gradient": rainbowGradient,
},
keyframes: {
violetTransition: {
"5%": {
"background-color": "#F0EBFF",
color: "#6F3FF5",
},
"0%, 80%": {
"background-color": "#6F3FF5",
color: "#FFF",
},
},
"pulse-scale": {
"0%, 100%": {
transform: "scale(1)",
},
"50%": {
transform: "scale(2)",
},
},
peachTransition: {
"5%": {
"background-color": "#FF9776",
color: "#FFF",
},
"0%, 80%": {
"background-color": "#5F94BC",
color: "#FFF",
},
},
},
},
},
plugins: [typography, forms, lineClamp],
};