-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
81 lines (81 loc) · 1.93 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
/* eslint-disable global-require */
// tailwind.config.js
const colors = require("tailwindcss/colors");
const defaultTheme = require("tailwindcss/defaultTheme");
// See https://tailwindcss.com/docs/configuration for details
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
safelist: [
"grid-cols-1",
"grid-cols-2",
"grid-cols-3",
"grid-cols-4",
"grid-cols-5",
"grid-cols-6",
"grid-cols-7",
"grid-cols-8",
"grid-cols-9",
"grid-cols-10",
"grid-cols-11",
"grid-cols-12",
"grid-cols-none",
],
// https://github.com/tailwindlabs/tailwindcss-forms
plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")],
theme: {
fontFamily: {
sans: ["Inter", "ui-sans-serif", "system-ui"],
},
extend: {
maxHeight: {
128: "32rem",
},
},
colors: {
transparent: "transparent",
current: "currentColor",
black: colors.black,
white: colors.white,
gray: colors.gray,
red: colors.red,
yellow: colors.amber,
green: colors.emerald,
blue: colors.blue,
indigo: colors.indigo,
purple: colors.purple,
pink: colors.pink,
violet: colors.violet,
buttonColor: {
loginButton: "#F00",
mildButton: "#EA5455",
lightButton: "#f37b00",
},
textColor: {
tableHeader: "#B2C0CC",
tableSubHeader: "#6B7280",
tableRowData: "#111827",
navigationText: "#023056",
selectBoxLabel: "#374151",
colonColor: "#023056",
dateColor: "#828894",
},
borderColor: {
header: "#E5E7EB",
table: "#0000000F",
subHeader: "#B2C0CC",
},
divideColor: {
primary: "#B2C0CC",
},
logoColor: {
success: "#34D399",
waiting: "#FBBF24",
aborted: "#F87171",
},
},
screens: {
xs: "330px",
...defaultTheme.screens,
},
},
};