-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
94 lines (93 loc) · 2.39 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
var colors = require("tailwindcss/colors");
var plugin = require("tailwindcss/plugin")
module.exports = {
content: [
"./*.html",
"./guide/*.html",
"./teams/*.html",
"./api/*.html",
"./migration/*.html",
"./src/index.js",
"./src/**/*.{html,js}",
"./Repl/*.{html,js}",
"./*.{html,js}",
],
theme: {
extend: {
colors: {
dative: "#ff3a10",
...colors,
nav: {
50: "#E1ECFE",
100: "#BED7FD",
200: "#83B1FC",
300: "#4289FA",
400: "#0763F8",
500: "#0549B7",
600: "#043C95",
700: "#032C6D",
800: "#021E4A",
900: "#010E23",
},
},
fontFamily: {
poppins_semibold: ["poppins-semibold"],
poppins_medium: ["poppins-medium"],
poppins_regular: ["poppins-regular"],
poppins_light: ["poppins-light"],
},
boxShadow: {
neon: " 0px 0px 300px 199px rgba(102,46,255,1)",
},
backgroundImage: {
home: "url('/public/galaxystarfield.png')",
mesh: "url('/public/mesh.png')",
earthbump1k: "url('/public/earthbump1k.jpg')",
},
zIndex: {
1000: "1000",
},
keyframes: {
slideInLeft: {
from: {
transform: "translate3d(-100%, 0, 0)",
visibility: "visible",
},
to: {
transform: "translate3d(0, 0, 0)",
},
},
},
animation: {
slideInLeft: "slideInLeft 1s ease-in-out",
},
},
},
plugins: [
plugin(function ({ addComponents, theme }) {
addComponents({
".neo": {
boxShadow: theme("boxShadow.neon"),
},
".main-back": {
background: "linear-gradient(to top left, #111, #fbd99e)",
},
".neon": {
background: "transparent",
"box-shadow": "0 4px 30px rgba(0, 0, 0, 0.1)",
"backdrop-filter": "blur(20px)",
"-webkit-backdrop-filter": "blur(20px)",
border: "1px solid transparent",
},
".msg-glass": {
background: "transparent",
"box-shadow": "0 8px 32px 0 rgba(31, 38, 135, 0.37)",
"backdrop-filter": "blur(4px)",
"-webkit-backdrop-filter": "blur(4px)",
"border-radius": "10px",
border: "1px solid rgba(255, 255, 255, 0.18)",
},
});
}),
],
};