cake-build/cake

Support custom ConsolePalette/ANSI colors

Open

#2.976 geöffnet am 8. Dez. 2020

Auf GitHub ansehen
 (3 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C# (738 Forks)batch import
Help wantedImprovementUp-for-grabs

Repository-Metriken

Stars
 (3.742 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 1h) (25 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide