-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
96 lines (91 loc) · 2.25 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
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
backgroundImage: (theme) => ({
"gradient-green-white-orange":
"linear-gradient(to right, green, white, orange)",
}),
transitionProperty: {
bg: "background-image",
},
animation: {
"fade-in": "fadeIn 0.5s ease-out forwards",
},
animationDelay: {
1: "1.5s",
2: "2s",
3: "2.5s",
},
boxShadow: {
"outer-glow": "0 0 15px 5px rgba(0, 200, 0, .7)", // Customize the color and size of the outer glow as desired.
glow: "0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff00",
},
keyframes: {
"fade-in": {
"0%": { opacity: 0 },
"100%": { opacity: 1 },
},
scroll: {
"0%": { opacity: 0 },
"10%": { transform: "translateY(0)", opacity: 1 },
"100%": { transform: "translateY(15px)", opacity: 0 },
},
},
fontFamily: {
raleway: ["Raleway", "sans-serif"],
monaSans: ["Mona Sans", "sans-serif"],
},
width: {
"custom-larger": "700px",
},
fontWeight: {
regular: 500,
bold: 700,
custom: 550,
},
colors: {
"dark-blue": "#181e24",
"dark-gray": "#242C35",
"darker-gray": "#532C75",
"darkest-gray": "#542C75",
},
borderRadius: {
custom: "3rem",
},
screens: {
sm: "640px",
md: "768px",
custom1: "773px",
custom2: "21rem",
xl: "1280px",
"2xl": "1536px",
"max-2xl": { max: "1499px" },
},
scrollBehavior: ["smooth"],
},
},
variants: {
extend: {
backgroundImage: ["hover", "focus"],
boxShadow: ["hover"],
},
},
plugins: [
function ({ addUtilities }) {
const newUtilities = {
".select-none": {
userSelect: "none",
},
};
addUtilities(newUtilities, ["hover"]);
},
],
};