-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
64 lines (63 loc) · 1.64 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
const colors = require("tailwindcss/colors"); // eslint-disable-line
module.exports = {
content: [
"./src/**/*.{vue,js,ts,jsx,tsx}",
"./docs/.vitepress/**/*.{vue,js,ts,jsx,tsx}",
],
darkMode: "class",
theme: {
extend: {
colors: {
formcolor: "#003c4d",
blue: {
50: "#eff9fb",
100: "#d0e7ed",
200: "#aad0db",
300: "#8abbc9",
400: "#6ca7b7",
500: "#428193",
600: "#275f6f",
700: "#153f4b",
800: "#0a2027",
900: "#010203",
},
},
typography: (theme) => ({
DEFAULT: {
css: {
table: {},
thead: {
border: "none",
},
tr: {
border: "none",
},
"tr:last-child": {
borderBottomWidth: "0",
},
th: {
verticalAlign: "bottom",
borderWidth: "2px",
borderColor: theme("colors.gray.400", colors.gray[400]),
backgroundColor: theme("colors.gray.200", colors.gray[200]),
padding: "4px 8px",
},
"th > p, td > p": {
margin: 0,
},
td: {
verticalAlign: "top",
borderWidth: "2px",
borderColor: theme("colors.gray.300", colors.gray[300]),
backgroundColor: theme("colors.gray.100", colors.gray[100]),
},
"tbody td:first-child": {
paddingLeft: "auto",
},
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};