-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
139 lines (136 loc) · 4.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
module.exports = {
darkMode: "class",
content: [
"./content/**/*.md",
"./layouts/**/*.html",
"./assets/js/*.js",
],
theme: {
fontSize: {
"h3": "1.25em",
},
extend: {
colors: {
"pagination-enabled-light": "text-sky-700",
"pagination-disabled-light": "#6c757d",
"pagination-hoverBg-light": "#e9ecef",
"pagination-hoverText-light": "#0056b3",
"pagination-bg-light": "#ffffff",
"pagination-border-light": "bg-neutral-200",
"pagination-enabled-dark": "text-sky-700",
"pagination-disabled-dark": "#929aa2",
"pagination-active-dark": "#ffa726",
"pagination-hoverBg-dark": "#2b2f33",
"pagination-hoverText-dark": "#84c4ff",
"pagination-bg-dark": "#1f2327",
"pagination-border-dark": "bg-gray-800",
"pagination-active-light": "#ff6600",
"search-bar-border-light": "#CCCCCC",
"search-bar-border-dark": "#333333",
},
fontSize: {
"size-lg": "1.5rem",
"size-md": "1.25rem",
"size-sm": "1rem",
"size-2xl": "2rem",
},
typography: (theme) => ({
singularisart: {
css: {
"--tw-prose-body": theme("colors.gray[700]"),
"--tw-prose-headings": theme("colors.gray[900]"),
"--tw-prose-lead": theme("colors.gray[600]"),
"--tw-prose-links": theme("colors.sky[600]"),
"--tw-prose-bold": theme("colors.gray[900]"),
"--tw-prose-counters": theme("colors.gray[500]"),
"--tw-prose-bullets": theme("colors.gray[400]"),
"--tw-prose-hr": theme("colors.gray[200]"),
"--tw-prose-quotes": theme("colors.gray[900]"),
"--tw-prose-quote-borders": theme("colors.gray[200]"),
"--tw-prose-captions": theme("colors.gray[500]"),
"--tw-prose-code": theme("colors.gray[900]"),
"--tw-prose-pre-code": theme("colors.gray[200]"),
"--tw-prose-pre-bg": theme("colors.gray[800]"),
"--tw-prose-th-borders": theme("colors.gray[300]"),
"--tw-prose-td-borders": theme("colors.gray[200]"),
"--tw-prose-invert-body": theme("colors.gray[300]"),
"--tw-prose-invert-headings": theme("colors.neutral[200]"),
"--tw-prose-invert-lead": theme("colors.gray[400]"),
"--tw-prose-invert-links": theme("colors.sky[500]"),
"--tw-prose-invert-bold": theme("colors.neutral[300]"),
"--tw-prose-invert-counters": theme("colors.gray[400]"),
"--tw-prose-invert-bullets": theme("colors.gray[400]"),
"--tw-prose-invert-hr": theme("colors.gray[700]"),
"--tw-prose-invert-quotes": theme("colors.gray[100]"),
"--tw-prose-invert-quote-borders": theme("colors.gray[700]"),
"--tw-prose-invert-captions": theme("colors.gray[400]"),
"--tw-prose-invert-code": theme("colors.neutral[300]"),
"--tw-prose-invert-pre-code": theme("colors.gray[300]"),
"--tw-prose-invert-pre-bg": "rgb(0 0 0 / 50%)",
"--tw-prose-invert-th-borders": theme("colors.gray[600]"),
"--tw-prose-invert-td-borders": theme("colors.gray[700]"),
h1: {
fontSize: "2.25rem",
lineHeight: "2.5rem",
marginBottom: "2rem",
fontWeight: "600",
},
h2: {
fontWeight: "550",
fontSize: "1.5em",
marginTop: "1em",
marginBottom: "1em",
lineHeight: "1.33",
},
h3: {
fontWeight: "550",
fontSize: "1.25em",
marginTop: "1.6em",
marginBottom: "0.6em",
lineHeight: "1.6",
},
h4: {
fontWeight: "550",
marginTop: "1.5em",
marginBottom: "0.5em",
lineHeight: "1.5",
},
img: {
marginTop: "0.5rem",
marginBottom: "0.5rem",
},
code: {
fontWeight: "normal",
},
"code::before": {
content: "none",
},
"code::after": {
content: "none",
},
a: {
fontWeight: "normal",
color: "var(--tw-prose-links)",
"&:hover": {
textDecoration: "underline",
},
},
},
},
}),
},
},
plugins: [
require("@tailwindcss/typography"),
function({ addUtilities }) {
addUtilities(
{
".font-small-caps": {
fontVariant: "small-caps",
},
},
["responsive", "hover"]
);
},
],
};