-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
69 lines (69 loc) · 1.71 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
/** @type {import('tailwindcss').Config} */
const colors = require("tailwindcss/colors");
module.exports = {
content: ["./app/**/*.{ts,tsx,jsx,js}", "./remix.config.js"], // Remix.config.js has some themes for mdx parsing
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
black: colors.black,
white: colors.white,
slate: colors.slate,
indigo: colors.indigo,
purple: colors.purple,
blue: colors.blue,
red: colors.rose,
green: colors.green,
},
extend: {
colors: {
// Custom color for code block
"code-dark": "#050505",
},
},
},
// This is for the toasts - which color styles are handled programmatically
safelist: [
"bg-red-100",
"dark:bg-red-200",
"border-red-400",
"text-red-700",
"dark:text-red-800",
"text-red-500",
"focus:ring-red-400",
"hover:bg-red-200",
"dark:text-red-600",
"dark:hover:bg-red-300",
"bg-green-100",
"dark:bg-green-200",
"border-green-400",
"text-green-700",
"dark:text-green-800",
"text-green-500",
"focus:ring-green-400",
"hover:bg-green-200",
"dark:text-green-600",
"dark:hover:bg-green-300",
"bg-blue-100",
"dark:bg-blue-200",
"border-blue-400",
"text-blue-700",
"dark:text-blue-800",
"text-blue-500",
"focus:ring-blue-400",
"hover:bg-blue-200",
"dark:text-blue-600",
"dark:hover:bg-blue-300",
"bg-slate-100",
"dark:bg-slate-200",
"border-slate-400",
"text-slate-700",
"dark:text-slate-800",
"text-slate-500",
"focus:ring-slate-400",
"hover:bg-slate-200",
"dark:text-slate-600",
"dark:hover:bg-slate-300",
],
plugins: [],
};