diff --git a/src/BlitzKit.CLI/Models/AssetUploader.cs b/src/BlitzKit.CLI/Models/AssetUploader.cs index c6291541f..689694ef9 100644 --- a/src/BlitzKit.CLI/Models/AssetUploader.cs +++ b/src/BlitzKit.CLI/Models/AssetUploader.cs @@ -35,7 +35,7 @@ namespace BlitzKit.CLI.Models if (response.StatusCode == HttpStatusCode.NotFound) { - Console.WriteLine( + PrettyLog.Background( $"🟢 (+{change.Content.Count.ToString("N0", Program.Culture)}B) {blobPath}" ); changes.Add(change); @@ -70,14 +70,14 @@ namespace BlitzKit.CLI.Models if (isDifferent) { - Console.WriteLine( + PrettyLog.Background( $"🟡 ({(deltaSize > 0 ? "+" : "")}{deltaSize.ToString("N0", Program.Culture)}B) {blobPath}" ); changes.Add(change); } else { - Console.WriteLine($"🔵 {blobPath}"); + PrettyLog.Background($"🔵 {blobPath}"); return; } } diff --git a/src/BlitzKit.CLI/Utils/PrettyLog.cs b/src/BlitzKit.CLI/Utils/PrettyLog.cs index db213c031..697abcfe9 100644 --- a/src/BlitzKit.CLI/Utils/PrettyLog.cs +++ b/src/BlitzKit.CLI/Utils/PrettyLog.cs @@ -27,5 +27,12 @@ namespace BlitzKit.CLI.Utils Console.WriteLine(message); Console.ResetColor(); } + + public static void Background(string message) + { + Console.ForegroundColor = ConsoleColor.DarkGray; + Console.WriteLine(message); + Console.ResetColor(); + } } }