-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuse.js
25 lines (24 loc) · 977 Bytes
/
use.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
const colors = require("./colors");
const reset = (str) => str + "\x1b[0m";
class Use {
manual() {
console.log(`
${colors.regularColors.Cyan}Total colors are 8
[black,red,blue,cyan,purple,white,yellow,green]
Total Bright/light colors are 7
[red,blue,cyan,purple,white,yellow,green]
******************
- regularColors ---> just write name of color,
- boldColors ---> "b" + ColorName,
- boldBrightColor ---> "bl" + ColorName,
- backgroundColor ---> "bg" + ColorName,
- boldBackgroundColor ---> "bgb" + ColorName,
- brightColor ---> "l" + ColorName,
- brightBackgroundColors ---> "bgl" + ColorName,
- underlineColors ---> "u" + ColorName,
- brightUnderlineColor ---> "ul" + ColorName,
- boldUnderlineColors ---> "ub" + ColorName,
\x1b[0m`);
}
}
module.exports = Use;