Skip to content

Commit 11fe717

Browse files
committed
remove system sixteen
1 parent e5e1dd5 commit 11fe717

File tree

3 files changed

+0
-27
lines changed

3 files changed

+0
-27
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ The following built-in themes are available:
4343
* `ConsoleTheme.None` - no styling
4444
* `SystemConsoleTheme.Literate` - styled to replicate _Serilog.Sinks.Literate_, using the `System.Console` coloring modes supported on all Windows/.NET targets; **this is the default when no theme is specified**
4545
* `SystemConsoleTheme.Grayscale` - a theme using only shades of gray, white, and black
46-
* `SystemConsoleTheme.Sixteen` - a version of the "literate" theme that works with light and dark backgrounds
4746
* `AnsiConsoleTheme.Literate` - an ANSI 256-color version of the "literate" theme
4847
* `AnsiConsoleTheme.Grayscale` - an ANSI 256-color version of the "grayscale" theme
4948
* `AnsiConsoleTheme.Code` - an ANSI 256-color Visual Studio Code-inspired theme

src/Serilog.Sinks.Console/Sinks/SystemConsole/Themes/SystemConsoleTheme.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ public class SystemConsoleTheme : ConsoleTheme
3939
/// A theme based on the original Serilog "colored console" sink.
4040
/// </summary>
4141
public static SystemConsoleTheme Colored { get; } = SystemConsoleThemes.Colored;
42-
43-
/// <summary>
44-
/// A theme in the style of the original <i>Serilog.Sinks.Literate</i> using only standard 16 terminal colors that will work on light backgrounds.
45-
/// </summary>
46-
public static SystemConsoleTheme Sixteen { get; } = SystemConsoleThemes.Sixteen;
4742

4843
/// <summary>
4944
/// Construct a theme given a set of styles.

src/Serilog.Sinks.Console/Sinks/SystemConsole/Themes/SystemConsoleThemes.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -81,26 +81,5 @@ static class SystemConsoleThemes
8181
[ConsoleThemeStyle.LevelError] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.White, Background = ConsoleColor.Red },
8282
[ConsoleThemeStyle.LevelFatal] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.White, Background = ConsoleColor.Red },
8383
});
84-
85-
public static SystemConsoleTheme Sixteen { get; } = new SystemConsoleTheme(
86-
new Dictionary<ConsoleThemeStyle, SystemConsoleThemeStyle>
87-
{
88-
[ConsoleThemeStyle.Text] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Black },
89-
[ConsoleThemeStyle.SecondaryText] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Black },
90-
[ConsoleThemeStyle.TertiaryText] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Black },
91-
[ConsoleThemeStyle.Invalid] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.DarkYellow },
92-
[ConsoleThemeStyle.Null] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Blue },
93-
[ConsoleThemeStyle.Name] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Black },
94-
[ConsoleThemeStyle.String] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.DarkCyan },
95-
[ConsoleThemeStyle.Number] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Magenta },
96-
[ConsoleThemeStyle.Boolean] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Blue },
97-
[ConsoleThemeStyle.Scalar] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Green },
98-
[ConsoleThemeStyle.LevelVerbose] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Black },
99-
[ConsoleThemeStyle.LevelDebug] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Black },
100-
[ConsoleThemeStyle.LevelInformation] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Cyan },
101-
[ConsoleThemeStyle.LevelWarning] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Yellow },
102-
[ConsoleThemeStyle.LevelError] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.Red, },
103-
[ConsoleThemeStyle.LevelFatal] = new SystemConsoleThemeStyle { Foreground = ConsoleColor.White, Background = ConsoleColor.Red },
104-
});
10584
}
10685
}

0 commit comments

Comments
 (0)