1
- // Copyright © Serilog Contributors
1
+ // Copyright © Serilog Contributors
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
@@ -16,10 +16,7 @@ namespace Serilog.Templates.Themes;
16
16
17
17
static class AnsiTemplateThemes
18
18
{
19
- public static TemplateTheme Literate
20
- {
21
- get ;
22
- } = new (
19
+ public static TemplateTheme Literate { get ; } = new (
23
20
new Dictionary < TemplateThemeStyle , string >
24
21
{
25
22
[ TemplateThemeStyle . Text ] = "\x1b [38;5;0015m" ,
@@ -40,10 +37,7 @@ public static TemplateTheme Literate
40
37
[ TemplateThemeStyle . LevelFatal ] = "\x1b [38;5;0015m\x1b [48;5;0196m" ,
41
38
} ) ;
42
39
43
- public static TemplateTheme Grayscale
44
- {
45
- get ;
46
- } = new (
40
+ public static TemplateTheme Grayscale { get ; } = new (
47
41
new Dictionary < TemplateThemeStyle , string >
48
42
{
49
43
[ TemplateThemeStyle . Text ] = "\x1b [37;1m" ,
@@ -64,10 +58,7 @@ public static TemplateTheme Grayscale
64
58
[ TemplateThemeStyle . LevelFatal ] = "\x1b [30m\x1b [47m" ,
65
59
} ) ;
66
60
67
- public static TemplateTheme Code
68
- {
69
- get ;
70
- } = new (
61
+ public static TemplateTheme Code { get ; } = new (
71
62
new Dictionary < TemplateThemeStyle , string >
72
63
{
73
64
[ TemplateThemeStyle . Text ] = "\x1b [38;5;0253m" ,
@@ -88,10 +79,7 @@ public static TemplateTheme Code
88
79
[ TemplateThemeStyle . LevelFatal ] = "\x1b [38;5;0197m\x1b [48;5;0238m" ,
89
80
} ) ;
90
81
91
- public static TemplateTheme Sixteen
92
- {
93
- get ;
94
- } = new (
82
+ public static TemplateTheme Sixteen { get ; } = new (
95
83
new Dictionary < TemplateThemeStyle , string >
96
84
{
97
85
[ TemplateThemeStyle . Text ] = string . Empty ,
0 commit comments