mirror of
https://github.com/spectreconsole/spectre.console.git
synced 2025-10-25 15:19:23 +00:00
Add example infrastructure
* Add "Shared" projects for all examples * Update "Colors" example with better TrueColor demo * Use same namespace for all examples
This commit is contained in:
committed by
Phil Scott
parent
2fe2bb3c32
commit
3545e0f6b5
@@ -1,10 +1,6 @@
|
||||
using System;
|
||||
using Spectre.Console;
|
||||
using SixLabors.ImageSharp.Processing;
|
||||
using System.Threading;
|
||||
using Spectre.Console.Rendering;
|
||||
|
||||
namespace Showcase
|
||||
namespace Spectre.Console.Examples
|
||||
{
|
||||
public static partial class Program
|
||||
{
|
||||
@@ -102,7 +98,7 @@ namespace Showcase
|
||||
"✓ [bold purple]8-bit color[/]\n" +
|
||||
"✓ [bold yellow]Truecolor (16.7 million)[/]\n" +
|
||||
"✓ [bold aqua]Automatic color conversion[/]"),
|
||||
new ColorBox(6));
|
||||
new ColorBox(height: 6));
|
||||
|
||||
return colorTable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user