ColorTheme

Represents color theme.

struct ColorTheme (
Color fg
Color bg
) {
string s;
}

Examples

alias ThError = ColorTheme(Color.red, Color.black);
writeln(ThError("string to write using Error theme(red foreground on black background)"));

Meta