-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.js
26 lines (23 loc) · 920 Bytes
/
variables.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
const { TableLogData } = require("./tools/tableLogData");
const chalk = require("chalk");
const mainTableOptions = {
rows: 30,
theme: {
shape: ["╔", "╦", "╗", "╠", "╬", "╣", "╚", "╩", "╝", "═", "║"],
colorHeader: { r: 65, g: 190, b: 65 },
colorShape: { r: 122, g: 209, b: 122 },
colorRowOdd: { r: 162, g: 221, b: 162 },
colorRowEven: { r: 107, g: 199, b: 107 },
colorRowActive: { r: 28, g: 74, b: 28 },
colorRowActiveBg: { r: 122, g: 209, b: 122 }
},
keys: [
{ key: "title", displayedName: "Title" },
{ key: "description", displayedName: "Description" }
],
};
const texts = {
ctrlC: chalk`Press {bold {rgb(0, 153, 255) Ctrl+C}}, {bold {rgb(0, 153, 255) Q}} or {bold {rgb(0, 153, 255) ESC}} to Exit`,
ctrlS: chalk`Press {bold {rgb(0, 153, 255) Ctrl+S}} to Show Command`,
};
module.exports = { texts, mainTableOptions };