diff --git a/DiscordChatExporter.Core/Exporting/Writers/Html/StylesheetTemplate.cshtml b/DiscordChatExporter.Core/Exporting/Writers/Html/StylesheetTemplate.cshtml index 18a974ae..003c4041 100644 --- a/DiscordChatExporter.Core/Exporting/Writers/Html/StylesheetTemplate.cshtml +++ b/DiscordChatExporter.Core/Exporting/Writers/Html/StylesheetTemplate.cshtml @@ -4,11 +4,11 @@ @{ var isDarkTheme = string.Equals(Model.ThemeName, "Dark", StringComparison.OrdinalIgnoreCase); + + string Themed(string darkVariant, string lightVariant) => isDarkTheme ? darkVariant : lightVariant; } -@if (isDarkTheme) -{ - -} -else -{ - -} \ No newline at end of file + .postamble__entry { + color: @Themed("#ffffff", "#2f3136"); + } + \ No newline at end of file