-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.js
55 lines (54 loc) · 1.24 KB
/
styles.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
const {version} = require('./package.json');
module.exports = {
list: {
top: 'center',
left: 'center',
align: 'left',
width: '70%',
height: '70%',
keys: true,
border: {
type: 'line'
},
style: {
fg: 'white',
bg: '#0f37ff',
border:
{
fg: '#f0f0f0'
}
}
},
welcomeText: {
align: "center",
top: "8%",
width: '100%',
content: `HurricaneElectricAutoIPv6TunnelCreator (HEAT) version ${version} :D`,
},
sudoErrorText: {
align: "center",
top: "97%",
width: "100%",
content: "ERROR: This option needs sudo permissions!",
style: {
fg: 'white',
bg: '#ff0000',
}
},
tipText: {
align: "center",
top: "93%",
width: '100%',
content: "NOTE: You can hit q, escape or Ctrl-C buttons to exit at any time!",
},
prompt: (screen) => {
return {
parent: screen,
top: 'center',
left: 'center',
border: 'line',
height: 'shrink',
label: 'Question',
};
}
};