-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathtailwind.config.js
84 lines (83 loc) · 2.29 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
/** @type {import('tailwindcss').Config} */
const withMT = require("@material-tailwind/react/utils/withMT");
module.exports = withMT( {
darkMode: ["class", ".dark-theme"],
content: [
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
backgroundImage: {
'post-hero': "url('/images/bg-post.jpg')",
},
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
fontFamily: {
display: ["var(--font-display)", "system-ui", "sans-serif"],
default: ["var(--font-default)", "system-ui", "sans-serif"],
},
colors: {
white: "var(--novel-white)",
stone: {
50: "var(--novel-stone-50)",
100: "var(--novel-stone-100)",
200: "var(--novel-stone-200)",
300: "var(--novel-stone-300)",
400: "var(--novel-stone-400)",
500: "var(--novel-stone-500)",
600: "var(--novel-stone-600)",
700: "var(--novel-stone-700)",
800: "var(--novel-stone-800)",
900: "var(--novel-stone-900)",
},
},
animation: {
'gradient-x':'gradient-x 1s ease infinite',
'gradient-y':'gradient-y 1s ease infinite',
'gradient-xy':'gradient-xy 1s ease infinite',
},
keyframes: {
'gradient-y': {
'0%, 100%': {
'background-size':'400% 400%',
'background-position': 'center top'
},
'50%': {
'background-size':'200% 200%',
'background-position': 'center center'
}
},
'gradient-x': {
'0%, 100%': {
'background-size':'200% 200%',
'background-position': 'left center'
},
'50%': {
'background-size':'200% 200%',
'background-position': 'right center'
}
},
'gradient-xy': {
'0%, 100%': {
'background-size':'400% 400%',
'background-position': 'left center'
},
'50%': {
'background-size':'200% 200%',
'background-position': 'right center'
}
}
},
},
},
plugins: [
// Tailwind plugins
require("@tailwindcss/typography"),
require("tailwindcss-animate"),
],
});