-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.js
More file actions
88 lines (87 loc) · 2.21 KB
/
Copy pathtailwind.config.js
File metadata and controls
88 lines (87 loc) · 2.21 KB
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
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
module.exports = {
mode: "jit",
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class",
theme: {
screens: {
sm: "600px",
md: "900px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
},
extend: {
fontFamily: {
poppins: "poppins",
questrial: "Questrial",
},
colors: {
primary: "#0bab7c",
"primary-light": "#07ae7133",
secondaryLightGreen: "#C7F4C2",
secondaryLightPurple: "#D7D0FF",
secondaryLightYellow: "#FDDD8C",
secondaryLightRed: "#FFBBD7",
secondaryGreen: "#0BAB7C",
secondaryRed: "#FC615C",
"hover-color": "#2d2d39",
"dark-light": "#393948",
},
backgroundColor: {
main: "#f5f5f9",
"dark-main": "#13131A",
"dark-card": "#1C1C24",
},
},
},
plugins: [
plugin(function ({ addUtilities }) {
const newUtilities = {
".text-muted": {
opacity: 0.8,
},
".transition-a": {
transition: "all 0.3s ease-in-out",
},
".card-shadow": {
boxShadow: " 0 0 0.375rem 0.25rem rgb(161 172 184 / 15%)",
},
".shadow-light": {
boxShadow: "0 0.3rem 0.6rem .2rem rgba(0, 0, 0, 0.1)",
},
".border-light": {
border: "1px solid rgba(46, 46, 46, 0.1)",
},
".input-shadow": {
boxShadow: "0 0 0 1000px #f5f5f9 inset !important",
},
".input-dark-shadow": {
boxShadow: "0 0 0 1000px #13131A inset !important",
},
".inputAutofillColor": {
"-webkit-text-fill-color": "#ccc",
},
".flex-center-center": {
display: "flex",
alignItems: "center",
justifyContent: "center",
},
".flex-center-between": {
display: "flex",
alignItems: "center",
justifyContent: "space-between",
},
".flex-align-center": {
display: "flex",
alignItems: "center",
},
};
addUtilities(newUtilities);
}),
],
};