-
Notifications
You must be signed in to change notification settings - Fork 15
/
tailwind.config.js
44 lines (44 loc) · 1.08 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
colors: {
primary: {
100: "#F9FCFE",
200: "#EDF5FB",
400: "#739FE5",
500: "#5B9FDD",
600: "#295398",
700: "#1570C2",
900: "#3C474E",
},
secondary: {
800: "#1C1D1E",
900: "#252627",
},
p2dark: {
900: "#111111",
1000: "#000000",
},
},
dropShadow: {
"btn-dark": "0px 1px 8px rgba(11, 25, 35, 0.4)",
"btn-light": "0px 1px 8px rgba(11, 25, 35, 0.1)",
},
gradients: (theme) => ({
"primary-gradient": `linear-gradient(to right, ${theme(
"colors.primary.200"
)}, ${theme("colors.primary.700")})`,
}),
backgroundImage: (theme) => ({
"primary-gradient": theme("gradients.primary-gradient"),
}),
},
},
plugins: [require("@tailwindcss/forms")],
future: {
hoverOnlyWhenSupported: true,
},
};