forked from Alepha/Alepha
Update and consolidate the console and colors code.
This introduces a subset of SGR-Name syntax.
This commit is contained in:
17
Testing/colors.h
Normal file
17
Testing/colors.h
Normal file
@ -0,0 +1,17 @@
|
||||
static_assert( __cplusplus > 2020'00 );
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Alepha/Console.h>
|
||||
|
||||
namespace Alepha::Hydrogen::Testing ::detail:: testing_colors
|
||||
{
|
||||
namespace C
|
||||
{
|
||||
inline namespace Colors
|
||||
{
|
||||
inline const auto testFail= createStyle( "test-failure", setFgColor( BasicTextColor::red ) );
|
||||
inline const auto testPass= createStyle( "test-success", setFgColor( BasicTextColor::green ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user