-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.js
144 lines (143 loc) · 2.91 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
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
136
137
138
139
140
141
142
143
144
const plugin = require("tailwindcss/plugin");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.tsx"],
theme: {
extend: {
textShadow: {
DEFAULT: "hsl(var(--p)) 0 0 75px",
footer: "hsl(var(--p)) 0 0 10px",
sm: "hsl(var(--p)) 0 0 40px",
},
gradientColorStops: {
"gradient-start": "hsl(var(--p))",
"gradient-end": "hsl(var(--s))",
},
keyframes: {
"gradient-foreground-1": {
"from, 16.667%, to": {
opacity: "1",
},
"33.333%, 83.333%": {
opacity: "0",
},
},
"gradient-background-1": {
"from, 16.667%, to": {
opacity: "0",
},
"25%, 91.667%": {
opacity: "1",
},
},
"gradient-foreground-2": {
"from, to": {
opacity: "0",
},
"33.333%, 50%": {
opacity: "1",
},
"16.667%, 66.667%": {
opacity: "0",
},
},
"gradient-background-2": {
"from, to": {
opacity: "1",
},
"33.333%, 50%": {
opacity: "0",
},
"25%, 58.333%": {
opacity: "1",
},
},
"gradient-foreground-3": {
"from, 50%, to": {
opacity: "0",
},
"66.667%, 83.333%": {
opacity: "1",
},
},
"gradient-background-3": {
"from, 58.333%, 91.667%, to": {
opacity: "1",
},
"66.667%, 83.333%": {
opacity: "0",
},
},
},
animation: {
"gradient-background-1": "gradient-background-1 8s infinite",
"gradient-foreground-1": "gradient-foreground-1 8s infinite",
"gradient-background-2": "gradient-background-2 8s infinite",
"gradient-foreground-2": "gradient-foreground-2 8s infinite",
"gradient-background-3": "gradient-background-3 8s infinite",
"gradient-foreground-3": "gradient-foreground-3 8s infinite",
},
colors: {
primary: {
100: "#ffdfe2",
200: "#ffbfc5",
300: "#ff9fa7",
400: "#ff7f8a",
500: "#ff5f6d",
600: "#cc4c57",
700: "#993941",
800: "#66262c",
900: "#331316",
DEFAULT: "#ff5f6d",
},
neutral: {
100: "#d0d0d1",
200: "#a0a2a3",
300: "#717375",
400: "#414547",
500: "#121619",
600: "#161b21",
700: "#0b0d0f",
800: "#07090a",
900: "#040405",
DEFAULT: "#121619",
card: "#161b21",
},
secondary: {
100: "#fff3e3",
200: "#ffe7c6",
300: "#ffdbaa",
400: "#ffcf8d",
500: "#ffc371",
600: "#161b21",
700: "#997544",
800: "#664e2d",
900: "#332717",
},
},
},
},
daisyui: {
styled: true,
base: true,
utils: true,
rtl: false,
prefix: "",
logs: process.env.NODE_ENV === "development",
},
variants: {},
plugins: [
require("@tailwindcss/typography"),
require("daisyui"),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"text-shadow": (value) => ({
textShadow: value,
}),
},
{ values: theme("textShadow") }
);
}),
],
};