forked from ZenUml/core
-
Notifications
You must be signed in to change notification settings - Fork 8
/
tailwind.config.js
121 lines (121 loc) · 4.8 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
module.exports = {
important: ".zenuml",
content: ["./**/*.html", "./src/**/*.vue"],
safelist: [
// add classes from tailwind.css
"theme-default",
"theme-mermaid",
"theme-darcula",
"theme-sky",
"theme-idle-afternoon",
"theme-coles",
"theme-woolworths",
"theme-anz",
"theme-nab",
"theme-google",
"theme-diagramly",
{
pattern: /(bg|text)-.*/,
},
],
theme: {
extend: {
colors: {
skin: {
frame:
"rgb(var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, --color-backup-white))))",
},
},
textColor: {
skin: {
title:
"var(--color-text-title, var(--color-text-message, var(--color-text-base, #000)))",
participant:
"var(--color-text-participant, var(--color-text-message, var(--color-text-base, #000)))",
message: "var(--color-text-message, var(--color-text-base, #000))",
"message-arrow":
"var(--color-message-arrow, var(--color-border-frame, var(--color-border-base, #000)))", // message arrow head
"message-hover":
"rgb(var(--color-text-message-hover, var(--color-bg-base, --color-backup-white)))",
comment:
"var(--color-text-comment, var(--color-text-secondary, var(--color-text-base, #000)))",
"fragment-header":
"var(--color-text-fragment-header, var(--color-text-message, #000))",
fragment:
"var(--color-text-fragment, var(--color-text-message, #000))",
base: "var(--color-text-base)",
header: "var(--color-text-header)",
secondary: "var(--color-text-secondary)",
control:
"var(--color-text-control, var(--color-text-secondary, var(--color-text-base, #000)))",
muted: "var(--color-text-muted)",
hover: "var(--color-text-hover)",
link: "var(--color-text-link, var(--color-text-secondary, var(--color-text-base, #000)))",
fill: "var(--color-text-fill)",
},
},
backgroundColor: {
skin: {
canvas:
"rgb(var(--color-bg-canvas, var(--color-bg-base, --color-backup-white))",
frame:
"rgba(var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, --color-backup-white))), <alpha-value>)",
title:
"rgb(var(--color-bg-title, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, --color-backup-white)))))",
participant:
"rgb(var(--color-bg-participant, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, --color-backup-white)))))",
lifeline:
"var(--color-border-participant, var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000))))",
divider:
"var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000)))",
"message-hover":
"var(--color-bg-message-hover, var(--color-text-base, #000))",
"fragment-header": "var(--color-bg-fragment-header, transparent)",
occurrence:
"rgb(var(--color-bg-occurrence, var(--color-bg-participant, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base,--color-backup-white))))))",
base: "rgb(var(--color-bg-base))",
secondary: "var(--color-bg-secondary)",
hover: "var(--color-bg-hover)",
fill: "var(--color-bg-fill)",
},
},
borderColor: {
primary: "var(--color-border-primary)",
skin: {
frame: "var(--color-border-frame, var(--color-border-base, #000))",
participant:
"var(--color-border-participant, var(--color-border-frame, var(--color-border-base, #000)))",
"message-arrow":
"var(--color-message-arrow, var(--color-border-frame, var(--color-border-base, #000)))", // message arrow line
fragment:
"var(--color-border-fragment, var(--color-border-frame, var(--color-border-base, #000)))",
occurrence:
"var(--color-border-occurrence, var(--color-border-frame, var(--color-border-base, #000)))",
base: "var(--color-border-base)",
secondary: "var(--color-border-secondary)",
},
},
gradientColorStops: {
skin: {
base: "rgb(var(--color-bg-base))",
secondary: "var(--color-bg-secondary)",
},
},
boxShadow: {
participant: "var(--color-shadow-participant, transparent)",
occurrence: "var(--color-shadow-occurrence, transparent)",
},
},
},
variants: {
extend: {
overflow: ["hover", "focus"],
whitespace: ["hover", "focus"],
display: ["group-hover"],
},
},
corePlugins: {
preflight: false,
},
plugins: [require("@headlessui/tailwindcss")],
};