forked from gitsrc/CloudX3-DePIN
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
105 lines (102 loc) · 2.73 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
97
98
99
100
101
102
103
104
105
/** @type {import('tailwindcss').Config} */
const pxToRem = dest => 1 / (16 / dest);
module.exports = {
darkMode: "class",
corePlugins: {
preflight: false
},
plugins: [require("daisyui"), require("@headlessui/tailwindcss")],
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
"./node_modules/@ignt/vue-library/src/**/*.{vue,js,ts,jsx,tsx}"
],
theme: {
boxShadow: {
DEFAULT: "16px 32px 128px -8px rgba(0, 0, 0, 0.07)"
},
// fontFamily: {
// sans: ["Inter", "sans-serif"]
// },
extend: {
colors: {
// transparent: "transparent",
// current: "currentColor",
white: {
400: "#fff",
500: "rgba(255,255,255,0.5)",
800: "rgba(255,255,255,0.82)",
1000: "#fff"
},
white: "#fff",
"white-1000": "#fff",
// black: "#111111",
gray: {
0: "#000",
50: "#f0f0f0",
30: "rgba(0, 0, 0, 0.03)",
70: "rgba(0, 0, 0, 0.07)",
330: "rgba(0, 0, 0, 0.33)",
660: "rgba(0, 0, 0, 0.667)"
}
// primary: "#094EFD",
// secondary: "#95DCFD",
// functional colors
// bg: "#fff"
// title: "#000",
// text: "#000",
// inverse: "#fff"
// muted: "rgba(0, 0, 0, 0.667)",
// inactive: "rgba(0, 0, 0, 0.33)",
// link: "#000",
// linkHover: "rgba(0, 0, 0, 0.667)"
// border: "rgba(0, 0, 0, 0.07)",
// checkbox: "#C4C4C4",
// radio: "#C4C4C4",
// warning: "#FC8C0B",
// error: "#D80228",
// negative: "#D80228",
// notification: "#FE475F"
},
boxShadow: {
// border: "0px 0.5px 0px #CBCBCB",
// border_double: "0px -0.5px 0px #CBCBCB, 0px 0.5px 0px #CBCBCB",
// max: "16px 32px 128px 8px rgba(0, 0, 0, 0.07)",
// dropdown: "-112px 73px 191px 59px rgba(0, 0, 0, 0.09)",
// select: "40px 64px 128px -8px rgba(0, 0, 0, 0.14)",
// outline: "inset 0 0 0 1px rgba(9, 78, 253, 1)",
// std: "3px 9px 32px -4px rgb(0 0 0 / 7%)"
},
fontSize: {
xxs: "0.625rem"
},
inset: {
center: "50%"
},
lineHeight: {
title: "127%",
text: "153.8%"
},
borderRadius: {
"2sm": "8px",
"3sm": "10px",
"4sm": "12px",
"5sm": "14px",
"6sm": "16px"
}
},
letterSpacing: {
tighter: "-.007em",
tight: "-.02em",
normal: "0"
},
screens: {
// mobile first -> (min-width:xxx)
xs: `${pxToRem(320)}rem`,
sm: `${pxToRem(576)}rem`,
md: `${pxToRem(768)}rem`,
lg: `${pxToRem(1024)}rem`,
xl: `${pxToRem(1380)}rem`
}
}
};