This repository has been archived by the owner on Jul 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
tailwind.config.js
96 lines (96 loc) · 4.05 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
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: {
extend: {
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': 'var(--color-text-message-hover, var(--color-bg-base, #fff))',
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: 'var(--color-bg-canvas, var(--color-bg-base, #fff))',
frame: 'var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff)))',
title:
'var(--color-bg-title, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff))))',
participant:
'var(--color-bg-participant, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff))))',
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:
'var(--color-bg-occurrence, var(--color-bg-participant, var(--color-bg-frame, var(--color-bg-canvas, var(--color-bg-base, #fff)))))',
base: 'var(--color-bg-base)',
secondary: 'var(--color-bg-secondary)',
hover: 'var(--color-bg-hover)',
fill: 'var(--color-bg-fill)',
},
},
borderColor: {
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: 'var(--color-bg-base)',
secondary: 'var(--color-bg-secondary)',
},
},
},
},
variants: {
extend: {
overflow: ['hover', 'focus'],
whitespace: ['hover', 'focus'],
display: ['group-hover'],
},
},
plugins: [],
};