-
Notifications
You must be signed in to change notification settings - Fork 0
/
puml-theme-purplerain.puml
186 lines (172 loc) · 3.24 KB
/
puml-theme-purplerain.puml
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
''
'' A simple purple theme (with lighter purple hyperlinks)
''
'' Original Author: George Rowlands
''
!$THEME = "purplerain"
!if %not(%variable_exists("$BGCOLOR"))
!$BGCOLOR = "transparent"
!endif
!if %not(%variable_exists("$FGCOLOR"))
!$FGCOLOR = "#7300E6"
!endif
!if %not(%variable_exists("$HYPERLINK_COLOR"))
!$HYPERLINK_COLOR = "#bb86fc"
!endif
!ifndef $FONT_NAME
!$FONT_NAME = "System-ui"
!endif
!ifndef $FONT_NAME_MONOSPACED
!$FONT_NAME_MONOSPACED = "Courier"
!endif
!$SUCCESS = "#0be670"
!$INFO = "#0976e7"
!$WARNING = "#e6700b"
!$FAILURE = "#e63c39"
!procedure $success($msg)
<font color=$SUCCESS>$msg
!endprocedure
!procedure $info($msg)
<font color=$INFO>$msg
!endprocedure
!procedure $warning($msg)
<font color=$WARNING>$msg
!endprocedure
!procedure $failure($msg)
<font color=$FAILURE>$msg
!endprocedure
<style>
root {
BackgroundColor $BGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
HyperLinkColor $HYPERLINK_COLOR
LineColor $FGCOLOR
LineThickness 1
Margin 5
}
caption {
LineThickness 0
}
footer {
LineThickness 0
}
header {
LineThickness 0
}
node {
MaximumWidth 300
}
title {
FontSize 22
LineThickness 0
}
</style>
skinparam ArrowLollipopColor $FGCOLOR
skinparam BackgroundColor $BGCOLOR
skinparam DefaultFontName $FONT_NAME
skinparam DefaultMonospacedFontName $FONT_NAME_MONOSPACED
skinparam LifelineStrategy nosolid
skinparam ParticipantPadding 10
skinparam SequenceLifeLineBorderColor $FGCOLOR
skinparam Shadowing false
skinparam UseBetaStyle true
skinparam Activity {
BackgroundColor $BGCOLOR
BarColor $FGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Boundary {
FontColor $FGCOLOR
}
skinparam Box {
Padding 5
}
skinparam CircledCharacter {
FontColor $FGCOLOR
FontName $FONT_NAME_MONOSPACED
Radius 9
}
skinparam Class {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassAttribute {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam ClassStereotype {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Footer {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Header {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Hyperlink {
Color $HYPERLINK_COLOR
}
skinparam IconPackage {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPrivate {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconProtected {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam IconPublic {
Color $FGCOLOR
BackgroundColor $BGCOLOR
}
skinparam Note {
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam Object {
BorderColor $FGCOLOR
}
skinparam Package {
BorderColor $FGCOLOR
FontColor $FGCOLOR
FontName $FONT_NAME
}
skinparam State {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeA {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeC {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeE {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeI {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam StereotypeN {
BackgroundColor $BGCOLOR
BorderColor $FGCOLOR
}
skinparam UseCaseStereoType {
FontColor $FGCOLOR
FontName $FONT_NAME
}