-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
79 lines (78 loc) · 1.83 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
/** @type {import('tailwindcss').Config} */
module.exports = {
//content: ["./internal/handler/web/template/**/*.{html,js}"],
content: ["./web/template/**/*.html"],
theme: {
colors: {
'base': {
'50': '#f6f6f9',
'100': '#ebebf3',
'200': '#d3d4e4',
'300': '#adafcc',
'400': '#8084b0',
'500': '#606597',
'600': '#4c4f7d',
'700': '#3e4066',
'800': '#363856',
'900': '#313249',
'950': '#0e0e15',
}
},
textColor: {
'base': {
'50': '#f5f4ef',
'100': '#e8e6d9',
'200': '#d2cfb6',
'300': '#b9b18d',
'400': '#a3956c',
'500': '#92825d',
'600': '#7d6a4f',
'700': '#665442',
'800': '#59473b',
'900': '#4e3f36',
'950': '#15100e',
},
'cinnabar': {
'300': '#f8a9a9',
'400': '#f27777',
'500': '#e63d3d',
'600': '#d42e2e',
'700': '#b22323',
'800': '#942020',
'900': '#7b2121',
}
},
extend: {
typography: ({ theme }) => ({
DEFAULT: {
css: {
'--tw-prose-body': theme('textColor.base[100]'),
'--tw-prose-headings': theme('textColor.base[100]'),
h1: {
margin: "0px"
},
p: {
fontSize: '16px',
lineHeight: "1.75",
wordBreak: "break-all",
whiteSpace: "normal"
},
ul: {
fontSize: '16px',
lineHeight: "1.5"
},
a: {
color: theme('textColor.cinnabar[400]'),
'&:hover': {
color: '#007bff',
},
},
},
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
],
}