From aa7fdf5750c49ce111cf2c893ddce2607b94b704 Mon Sep 17 00:00:00 2001 From: jaonoctus Date: Wed, 18 Jan 2023 16:27:15 -0300 Subject: [PATCH] fix: change colors --- src/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index 83b9217..b1ae44c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -135,9 +135,9 @@ function outputKeys({ mnemonic, passphrase }: { mnemonic: string, passphrase?: s const { bech32PrivateKey } = getBech32PrivateKey({ privateKey }) const { bech32PublicKey } = getBech32PublicKey({ publicKey }) - console.log(chalk.yellow('>'), 'mnemonic:', chalk.blue(mnemonic)) - console.log(chalk.yellow('>'), 'hex private key:', chalk.blue(privateKey)) - console.log(chalk.yellow('>'), 'hex public key:', chalk.blue(publicKey)) - console.log(chalk.yellow('>'), 'bech32 private key:', chalk.blue(bech32PrivateKey)) - console.log(chalk.yellow('>'), 'bech32 public key:', chalk.blue(bech32PublicKey)) + console.log(chalk.gray('mnemonic:'), chalk.bgCyan(mnemonic)) + console.log(chalk.gray('hex private key:'), chalk.cyan(privateKey)) + console.log(chalk.gray('hex public key:'), chalk.cyan(publicKey)) + console.log(chalk.gray('bech32 private key:'), chalk.cyan(bech32PrivateKey)) + console.log(chalk.gray('bech32 public key:'), chalk.cyan(bech32PublicKey)) }