From afd9a4c58b2770174e4c5fbc239db336a352fb27 Mon Sep 17 00:00:00 2001 From: idodod Date: Wed, 29 Nov 2023 10:58:03 -0500 Subject: [PATCH] Change color used to print metadata values (such as ARG values) (#3551) Example of new color: https://cloud.earthly.dev/builds/d98fbdeb-6747-41e1-8c5f-cb7ecaabb766 --- CHANGELOG.md | 3 +++ conslogging/color.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e129158..75e13fac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ All notable changes to [Earthly](https://github.com/earthly/earthly) will be doc ### Added - A warning when a `COPY` destination includes a tilde (~). Related to [#1789](https://github.com/earthly/earthly/issues/1789). +### Changed +- Changed the color used to print metadata values (such as ARGs values) in the build log to Faint Blue. + ## v0.7.22 - 2023-11-27 ### Added diff --git a/conslogging/color.go b/conslogging/color.go index 7016d72f..01f94b36 100644 --- a/conslogging/color.go +++ b/conslogging/color.go @@ -5,7 +5,7 @@ import "github.com/fatih/color" var ( noColor = makeNoColor() cachedColor = makeColor(color.FgGreen) - metadataModeColor = makeColor(color.FgHiWhite, color.BgHiBlack) + metadataModeColor = makeColor(color.FgBlue, color.Faint) phaseColor = makeColor(color.FgCyan) disabledPhaseColor = makeColor(color.FgHiBlack) specialPhaseColor = makeColor(color.FgYellow)