Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upfeat(cli, config): `cli.bannerColor` option #6399
Conversation
This comment has been minimized.
This comment has been minimized.
codecov-io
commented
Sep 11, 2019
•
Codecov Report
@@ Coverage Diff @@
## dev #6399 +/- ##
==========================================
+ Coverage 95.65% 95.65% +<.01%
==========================================
Files 79 79
Lines 2692 2693 +1
Branches 696 696
==========================================
+ Hits 2575 2576 +1
Misses 101 101
Partials 16 16
Continue to review full report at Codecov.
|
We don't include typescript logic here. It may be better an option to customize color. |
This comment has been minimized.
This comment has been minimized.
I've exposed a |
I'd call it |
This comment has been minimized.
This comment has been minimized.
Done! |
@@ -20,7 +20,11 @@ export function showBanner (nuxt, showMemoryUsage = true) { | |||
const messageLines = [] | |||
|
|||
// Name and version | |||
titleLines.push(`${chalk.green.bold('Nuxt.js')} ${nuxt.constructor.version}`) | |||
let bannerColor = 'green' | |||
if (nuxt.options.build) { |
This comment has been minimized.
This comment has been minimized.
@@ -20,7 +20,11 @@ export function showBanner (nuxt, showMemoryUsage = true) { | |||
const messageLines = [] | |||
|
|||
// Name and version | |||
titleLines.push(`${chalk.green.bold('Nuxt.js')} ${nuxt.constructor.version}`) | |||
let bannerColor = 'green' |
This comment has been minimized.
This comment has been minimized.
LGTM! Thanks |
This comment has been minimized.
This comment has been minimized.
@danielroe @pi0 Is there any reason the banner border color hasn't be set to the new option ? :P |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Exeteres
commented
Oct 1, 2019
I have the same question |
This comment has been minimized.
This comment has been minimized.
@kevinmarrec @Exeteres I like the idea! (Mind you, in production mode there will be green in the picture too.) |
danielroe commentedSep 11, 2019
•
edited
Types of changes
Description
This exposes a
build.bannerColor
option to change the color of the Nuxt title in the CLI banner.Resolves: #6397
Checklist:
I think that might be overkill for a simple cosmetic change