Skip to content

Commit 79b887b

Browse files
authored
Update TemplateThemes.cs Fixed an issue with format
1 parent 5cc2ead commit 79b887b

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

src/Serilog.Expressions/Templates/Themes/TemplateThemes.cs

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright © Serilog Contributors
1+
// Copyright © Serilog Contributors
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -16,10 +16,7 @@ namespace Serilog.Templates.Themes;
1616

1717
static class TemplateThemes
1818
{
19-
public static TemplateTheme Literate
20-
{
21-
get;
22-
} = new(
19+
public static TemplateTheme Literate { get; } = new(
2320
new Dictionary<TemplateThemeStyle, string>
2421
{
2522
[TemplateThemeStyle.Text] = "\x1b[38;5;0015m",
@@ -40,10 +37,7 @@ public static TemplateTheme Literate
4037
[TemplateThemeStyle.LevelFatal] = "\x1b[38;5;0015m\x1b[48;5;0196m",
4138
});
4239

43-
public static TemplateTheme Grayscale
44-
{
45-
get;
46-
} = new(
40+
public static TemplateTheme Grayscale { get; } = new(
4741
new Dictionary<TemplateThemeStyle, string>
4842
{
4943
[TemplateThemeStyle.Text] = "\x1b[37;1m",
@@ -64,10 +58,7 @@ public static TemplateTheme Grayscale
6458
[TemplateThemeStyle.LevelFatal] = "\x1b[30m\x1b[47m",
6559
});
6660

67-
public static TemplateTheme Code
68-
{
69-
get;
70-
} = new(
61+
public static TemplateTheme Code { get; } = new(
7162
new Dictionary<TemplateThemeStyle, string>
7263
{
7364
[TemplateThemeStyle.Text] = "\x1b[38;5;0253m",
@@ -88,10 +79,7 @@ public static TemplateTheme Code
8879
[TemplateThemeStyle.LevelFatal] = "\x1b[38;5;0197m\x1b[48;5;0238m",
8980
});
9081

91-
public static TemplateTheme Sixteen
92-
{
93-
get;
94-
} = new(
82+
public static TemplateTheme Sixteen { get; } = new(
9583
new Dictionary<TemplateThemeStyle, string>
9684
{
9785
[TemplateThemeStyle.Text] = string.Empty,
@@ -111,4 +99,4 @@ public static TemplateTheme Sixteen
11199
[TemplateThemeStyle.LevelError] = "\x1b[31;1m",
112100
[TemplateThemeStyle.LevelFatal] = "\x1b[31;1m",
113101
});
114-
}
102+
}

0 commit comments

Comments
 (0)