-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
78 lines (72 loc) · 2.45 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
const colors = require("tailwindcss/colors");
const plugin = require("tailwindcss/plugin");
module.exports = {
content: ["Resources/Private/{Assets,Fusion,Modules}/**/*.{js,fusion,pcss}"],
important: ".mautic",
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
black: colors.black,
white: colors.white,
slate: colors.slate,
red: colors.red,
yellow: colors.amber,
green: colors.emerald,
neos: {
green: "var(--green)",
orange: "var(--orange)",
red: "var(--warning)",
blue: "var(--blue)",
"blue-light": "var(--blueLight)",
"blue-dark": "var(--blueDark)",
"subtle-light": "var(--textSubtleLight)",
subtle: "var(--textSubtle)",
"gray-lighter": "var(--grayLighter)",
"gray-light": "var(--grayLight)",
"gray-medium": "var(--grayMedium)",
"gray-dark": "var(--grayDark)",
"gray-darker": "var(--grayDarker)",
},
},
fontFamily: {
inherit: "inherit",
sans: [
'"Noto Sans"',
"sans-serif",
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
".auto-grow-textarea": {
display: "grid",
"& > *": {
"grid-area": "1 / 1 / 2 / 2",
width: "100%",
display: "block",
padding: "14px !important",
"border-width": "2px",
font: "inherit",
"line-height": "1.4",
},
"& > span": {
"white-space": "pre-wrap",
visibility: "hidden",
"border-color": "transparent",
"border-style": "solid",
},
"& > textarea": {
resize: "none",
overflow: "hidden",
},
},
});
}),
],
};