-
Notifications
You must be signed in to change notification settings - Fork 21
/
jssm_base_stylesheet.js
57 lines (57 loc) · 1.69 KB
/
jssm_base_stylesheet.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
const base_state_style = {
shape: 'rectangle',
backgroundColor: 'khaki',
textColor: 'black',
borderColor: 'black'
};
const base_active_state_style = {
textColor: 'white',
backgroundColor: 'dodgerblue4'
};
const base_hooked_state_style = {
shape: 'component'
};
const base_terminal_state_style = {
textColor: 'white',
backgroundColor: 'crimson'
};
const base_active_terminal_state_style = {
textColor: 'white',
backgroundColor: 'indigo'
};
const base_start_state_style = {
backgroundColor: 'yellow'
};
const base_active_start_state_style = {
backgroundColor: 'yellowgreen'
};
const base_active_hooked_state_style = {
backgroundColor: 'yellowgreen'
};
const base_end_state_style = {
textColor: 'white',
backgroundColor: 'darkolivegreen'
};
const base_active_end_state_style = {
textColor: 'white',
backgroundColor: 'darkgreen'
};
const base_theme = {
state: base_state_style,
start: base_start_state_style,
end: base_end_state_style,
terminal: base_terminal_state_style,
hooked: base_hooked_state_style,
active: base_active_state_style,
active_start: base_active_start_state_style,
active_end: base_active_end_state_style,
active_terminal: base_active_terminal_state_style,
active_hooked: base_active_hooked_state_style,
legal: undefined,
main: undefined,
forced: undefined,
action: undefined,
graph: undefined,
title: undefined // TODO FIXME
};
export { base_state_style, base_active_state_style, base_terminal_state_style, base_active_terminal_state_style, base_start_state_style, base_active_start_state_style, base_end_state_style, base_active_end_state_style, base_theme, base_theme as theme };