-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
77 lines (74 loc) · 1.88 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
// @ts-check
const { fontFamily } = require("tailwindcss/defaultTheme");
/**
* @type {import("tailwindcss").Config}
* @see https://tailwindcss.com/docs/theme
*/
const tailwindConfig = {
darkMode: "class",
content: [
"./src/app/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/pages/**/*.{js,ts,jsx,tsx}",
],
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"fade-right": "fade-right 2s both infinite",
},
colors: {
dydx: {
alert: "#FF486E",
bg: "#151617",
},
light: {
30: "#F3F6F808",
50: "#F3F6F80D",
100: "#F3F6F81A",
200: "#F3F6F833",
300: "#F3F6F84D",
400: "#F3F6F866",
500: "#F3F6F880",
600: "#F3F6F899",
700: "#F3F6F8B2",
800: "#F3F6F8CC",
900: "#F3F6F8E5",
950: "#F3F6F8F2",
DEFAULT: "#F3F6F8",
},
},
fontFamily: {
mono: ["Inconsolata Variable", "Inconsolata", ...fontFamily.mono],
sans: ["Inter Variable", "Inter", ...fontFamily.sans],
},
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" },
},
"fade-right": {
from: { opacity: "0", transform: "translate(-100%)" },
to: { opacity: "1", transform: "translate(100%)" },
},
},
},
},
plugins: [
require("tailwindcss-animate"),
//
],
};
module.exports = tailwindConfig;