From 5da7c20a6fe58c29d2c751e5317260a73227f331 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Wed, 12 Feb 2020 19:53:43 +0700 Subject: [PATCH] Improve the colors in the example --- example.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/example.js b/example.js index 20a1896..37c934f 100644 --- a/example.js +++ b/example.js @@ -2,27 +2,27 @@ const chalk = require('chalk'); const boxen = require('.'); -console.log('\n\n' + boxen(chalk.blue.bold('unicorn'), { +console.log('\n\n' + boxen(chalk.cyan('unicorn'), { padding: 1, margin: 1, borderColor: 'yellow' }) + '\n'); -console.log('\n\n' + boxen(chalk.blue.bold('unicorn'), { +console.log('\n\n' + boxen(chalk.cyan('unicorn'), { padding: 1, margin: 1, borderColor: 'yellow', borderStyle: 'double' }) + '\n'); -console.log('\n\n' + boxen(chalk.blue.bold('unicorn'), { +console.log('\n\n' + boxen(chalk.cyan('unicorn'), { padding: 1, margin: 1, borderColor: '#eebbaa', borderStyle: 'double' }) + '\n'); -console.log('\n\n' + boxen(chalk.blue.bold('unicorn'), { +console.log('\n\n' + boxen(chalk.black('unicorn'), { padding: 1, margin: 1, borderColor: '#ffc0cb', @@ -30,7 +30,7 @@ console.log('\n\n' + boxen(chalk.blue.bold('unicorn'), { borderStyle: 'double' }) + '\n'); -console.log('\n\n' + boxen(chalk.blue.bold('unicorn'), { +console.log('\n\n' + boxen(chalk.black('unicorn'), { padding: 1, margin: 1, borderColor: 'yellow',