1 module cucumber.formatter.color;
2 
3 version (Windows)
4 {
5     ///
6     enum string[string] colors = [
7             // dfmt off
8             "none" : "",
9             "failed" : "",
10             "skipped" : "",
11             "undefined" : "",
12             "passed" : "",
13             "reset" : "",
14             "gray" : ""
15             // dfmt on
16         ];
17 }
18 else
19 {
20     ///
21     enum string[string] colors = [
22             // dfmt off
23             "none" : "",
24             "failed" : "\u001b[31m",
25             "skipped" : "\u001b[36m",
26             "undefined": "\u001b[33m",
27             "passed" : "\u001b[32m",
28             "reset" : "\u001b[0m",
29             "gray" : "\u001b[90m"
30             // dfmt on
31         ];
32 }
33 
34 ///
35 enum string[string] noColors = [
36         // dfmt off
37         "none" : "",
38         "failed" : "",
39         "skipped" : "",
40         "undefined" : "",
41         "passed" : "",
42         "reset" : "",
43         "gray" : ""
44         // dfmt on
45     ];