-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
51 lines (50 loc) · 1.19 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
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class",
theme: {
extend: {
colors: {
primary: {
light: "#66adff",
medium: "#3172bc",
dark: "#0c478c",
},
secondary: "#28c4ac",
"body-text": {
dark: "#2f495e",
light: "#fafaff",
},
"body-color": {
light: "#fafaff",
"light-secondary": "#edf2f7",
dark: "#2B4255",
"dark-secondary": "#334E66",
},
},
},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
".perspective-400": {
perspective: "400rem",
},
".rotate-y-65": {
transform: "rotateY(65deg)",
},
".origin-left-center": {
"transform-origin": "left center",
},
".custom-rotate-avatar-mobile": {
transform: "rotateZ(-20deg) rotateY(180deg) scale(0.7)",
filter: "drop-shadow(20px 30px 20px rgba(0, 0, 0,.1))",
},
});
}),
],
};