-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
tailwind.config.js
68 lines (68 loc) · 1.94 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./node_modules/@tremor/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
typography({ theme }) {
return {
DEFAULT: {
css: {
"code::before": {
content: "none",
},
"code::after": {
content: "none",
},
code: {
backgroundColor: theme("colors.zinc.700"),
color: theme("colors.zinc.100"),
paddingLeft: theme("spacing[1.5]"),
paddingRight: theme("spacing[1.5]"),
paddingTop: theme("spacing.1"),
paddingBottom: theme("spacing.1"),
borderRadius: theme("borderRadius.DEFAULT"),
},
},
},
};
},
colors: {
tremor: {
brand: {
faint: "#eff6ff", // blue-50
muted: "#bfdbfe", // blue-200
subtle: "#60a5fa", // blue-400
DEFAULT: "#3b82f6", // blue-500
emphasis: "#1d4ed8", // blue-700
inverted: "#ffffff", // white
},
background: {
muted: "#f9fafb", // gray-50
subtle: "#f3f4f6", // gray-100
DEFAULT: "#ffffff", // white
emphasis: "#374151", // gray-700
},
border: {
DEFAULT: "#e5e7eb", // gray-200
},
ring: {
DEFAULT: "#e5e7eb", // gray-200
},
content: {
subtle: "#9ca3af", // gray-400
DEFAULT: "#6b7280", // gray-500
emphasis: "#374151", // gray-700
strong: "#111827", // gray-900
inverted: "#ffffff", // white
},
},
},
},
},
plugins: [require("@headlessui/tailwindcss")],
darkMode: "class",
};