forked from orbit-oss/chalk
parent
8d599972ee
commit
ed6e7d56da
1 changed files with 7 additions and 0 deletions
|
|
@ -68,6 +68,13 @@ chalk.green(
|
|||
chalk.blue.underline.bold('with a blue substring') +
|
||||
' that becomes green again!'
|
||||
);
|
||||
|
||||
// ES2015 template literal
|
||||
const systemStats = `
|
||||
CPU: ${chalk.red('90%')}
|
||||
RAM: ${chalk.green('40%')}
|
||||
DISK: ${chalk.yellow('70%')}
|
||||
`;
|
||||
```
|
||||
|
||||
Easily define your own themes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue