cake-build/cake

Support custom ConsolePalette/ANSI colors

Open

#2,976 创建于 2020年12月8日

在 GitHub 查看
 (3 评论) (1 反应) (0 负责人)C# (738 fork)batch import
Help wantedImprovementUp-for-grabs

仓库指标

Star
 (3,742 star)
PR 合并指标
 (平均合并 1天 1小时) (30 天内合并 25 个 PR)

描述

Regarding #2966.

In build systems that have a build log with white background, the current palette is not... the prettiest of palettes. Would be great to have a way of customizing the colors. Could be by choosing between different "official" palettes, or by explicitly setting the different colors of the palette.

I suspect that you could achieve this using Cake.Frosting and a custom IConsole where you handle ANSI coloring yourself, but it would be nice utilize the built in ANSI coloring and do this without Cake.Frosting.

贡献者指南