@@ -8,22 +8,22 @@ const color = require('ansi-styles'),
88
99const
1010 // table color
11- tblclr = ( border ) => { return cyan ( border ) ; } ,
11+ tblclr = ( border ) => cyan ( border ) ,
1212 // normal ansi colors
13- white = ( txt ) => { return color . white . open + txt + color . white . close ; } ,
14- black = ( txt ) => { return color . black . open + txt + color . black . close ; } ,
15- green = ( txt ) => { return color . green . open + txt + color . green . close ; } ,
16- cyan = ( txt ) => { return color . cyan . open + txt + color . cyan . close ; } ,
17- magenta = ( txt ) => { return color . magenta . open + txt + color . magenta . close ; } ,
18- yellow = ( txt ) => { return color . yellow . open + txt + color . yellow . close ; } ,
19- red = ( txt ) => { return color . red . open + txt + color . red . close ; } ,
13+ white = ( txt ) => color . white . open + txt + color . white . close ,
14+ black = ( txt ) => color . black . open + txt + color . black . close ,
15+ green = ( txt ) => color . green . open + txt + color . green . close ,
16+ cyan = ( txt ) => color . cyan . open + txt + color . cyan . close ,
17+ magenta = ( txt ) => color . magenta . open + txt + color . magenta . close ,
18+ yellow = ( txt ) => color . yellow . open + txt + color . yellow . close ,
19+ red = ( txt ) => color . red . open + txt + color . red . close ,
2020 // bright ansi colors
21- cyanBright = ( txt ) => { return color . cyanBright . open + txt + color . cyanBright . close ; } ,
22- magentaBright = ( txt ) => { return color . magentaBright . open + txt + color . magentaBright . close ; } ,
23- redBright = ( txt ) => { return color . redBright . open + txt + color . redBright . close ; } ,
24- greenBright = ( txt ) => { return color . greenBright . open + txt + color . greenBright . close ; } ,
21+ cyanBright = ( txt ) => color . cyanBright . open + txt + color . cyanBright . close ,
22+ magentaBright = ( txt ) => color . magentaBright . open + txt + color . magentaBright . close ,
23+ redBright = ( txt ) => color . redBright . open + txt + color . redBright . close ,
24+ greenBright = ( txt ) => color . greenBright . open + txt + color . greenBright . close ,
2525 // background ansi color
26- cyanBG = ( txt ) => { return color . bgCyan . open + txt + color . bgCyan . close ; } ,
26+ cyanBG = ( txt ) => color . bgCyan . open + txt + color . bgCyan . close ,
2727 // horizontal line
2828 line = '-' . repeat ( 60 ) ;
2929
0 commit comments