Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,002 changes: 1,003 additions & 999 deletions src/LogExpert.Resources/Resources.Designer.cs

Large diffs are not rendered by default.

40 changes: 0 additions & 40 deletions src/LogExpert.Resources/Resources.de.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,10 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Add" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<comment>Add</comment>
</data>
<data name="ArrowDown" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\ArrowDown.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<comment>ArrowDown</comment>
</data>
<data name="ArrowLeft" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\ArrowLeft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ArrowRight" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\ArrowRight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ArrowUp" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\ArrowUp.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
Expand All @@ -143,15 +133,9 @@
<value>images\png\48\Arrow_menu_open.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<comment>Arrow_menu_open</comment>
</data>
<data name="Bookmarks" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Bookmarks.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Bookmark_add" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Bookmark_add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Bookmark_added" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Bookmark_added.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="SettingsDialog_UI_GroupBox_groupBoxColumnizerPriority" xml:space="preserve">
<value>Priorität der Columnizer-Auswahl</value>
</data>
Expand All @@ -170,39 +154,18 @@
<data name="bookmark_bubbles" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\bookmark_bubbles.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Bookmark_manager" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Bookmark_manager.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Bookmark_remove" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Bookmark_remove.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Check_circle" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Check_circle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Close" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Deceased" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Deceased.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Delete" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Exit" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Favorite" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Favorite.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="File_open" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\File_open.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Filter" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Filter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Folder_open" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Folder_open.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LogExpert_Common_UI_Message_ClipboardInUse" xml:space="preserve">
<value>Kopieren in die Zwischenablage nicht möglich. Sie wird von einer anderen Anwendung verwendet. Bitte versuchen Sie es erneut.</value>
</data>
Expand All @@ -229,9 +192,6 @@
<value>images\png\48\Settings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<comment>Settings Logo</comment>
</data>
<data name="Star" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Star.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LogExpert_Common_UI_Title_Error" xml:space="preserve">
<value>LogExpert Fehler</value>
</data>
Expand Down
63 changes: 31 additions & 32 deletions src/LogExpert.Resources/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,78 +118,71 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Add" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<comment>Add</comment>
</data>
<data name="ArrowDown" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\ArrowDown.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<comment>ArrowDown</comment>
</data>
<data name="ArrowLeft" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\ArrowLeft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ArrowRight" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\ArrowRight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="ArrowDown_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\ArrowDown.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ArrowUp" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\ArrowUp.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ArrowUp_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\ArrowUp.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Arrow_menu_close" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Arrow_menu_close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<comment>Arrow_menu_close</comment>
</data>
<data name="Arrow_menu_close_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\Arrow_menu_close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Arrow_menu_open" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Arrow_menu_open.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<comment>Arrow_menu_open</comment>
</data>
<data name="Bookmarks" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Bookmarks.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="Arrow_menu_open_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\Arrow_menu_open.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Bookmark_add" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Bookmark_add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Bookmark_added" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Bookmark_added.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="Bookmark_add_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\Bookmark_add.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="SettingsDialog_UI_Label_labelMaxDisplayLength" xml:space="preserve">
<value>Maximum Display Length (restart required)</value>
</data>
<data name="bookmark_bubbles" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\bookmark_bubbles.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Bookmark_manager" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Bookmark_manager.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Bookmark_remove" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Bookmark_remove.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Check_circle" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Check_circle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="bookmark_bubbles_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\bookmark_bubbles.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Close" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Deceased" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Deceased.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Delete" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="Close_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\Close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Exit" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Favorite" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Favorite.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="Exit_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\Exit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="File_open" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\File_open.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="File_open_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\File_open.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Filter" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Filter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Folder_open" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Folder_open.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="Filter_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\Filter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LogExpert_Common_UI_Message_ClipboardInUse" xml:space="preserve">
<value>Could not copy to the clipboard. It is in use by another application. Please try again.</value>
Expand All @@ -215,15 +208,21 @@
<data name="Restart_alt" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Restart_alt.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Restart_alt_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\Restart_alt.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Search" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Search.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Search_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\Search.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Settings" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Settings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<comment>Settings Logo</comment>
</data>
<data name="Star" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48\Star.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="Settings_dark" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>images\png\48_dark\Settings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LogExpert_Common_UI_Title_Error" xml:space="preserve">
<value>LogExpert Error</value>
Expand Down
23 changes: 23 additions & 0 deletions src/LogExpert.Resources/ThemedImages.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
using System.Drawing;
using System.Globalization;

namespace LogExpert;

public static class ThemedImages
{
public static Bitmap Get (string name, bool darkMode)
{
var culture = CultureInfo.CurrentUICulture;

if (darkMode)
{
if (Resources.ResourceManager.GetObject(name + "_dark", culture) is Bitmap dark)
{
return dark;
}
}

return (Bitmap)(Resources.ResourceManager.GetObject(name, culture)
?? throw new InvalidOperationException($"Themed image resource '{name}' (or '{name}_dark') was not found."));
}
}
Binary file removed src/LogExpert.Resources/images/bmp/LogExpert.bmp
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/gif/LogExpert-Icon.gif
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/icons/Icon1.ico
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/icons/Icon2.ico
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/icons/bubble.ico
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/png/48/Add.png
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/png/48/ArrowLeft.png
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/png/48/ArrowRight.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/png/48/Bookmarks.png
Binary file not shown.
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/png/48/Deceased.png
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/png/48/Delete.png
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/png/48/Favorite.png
Binary file not shown.
Binary file not shown.
Binary file removed src/LogExpert.Resources/images/png/48/Star.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/LogExpert.UI.Tests/UI/PaintHelperTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,22 @@ public void GetBrushForFocusedControl_Focused_UsesSelectionColor ()
});
}

[Test]
public void GetBookmarkMarkerTextColor_DarkMode_UsesDarkBrownOrange ()
{
var color = PaintHelper.GetBookmarkMarkerTextColor(darkMode: true);

Assert.That(color, Is.EqualTo(Color.FromArgb(255, 90, 45, 0)));
}

[Test]
public void GetBookmarkMarkerTextColor_LightMode_UsesDarkOrange ()
{
var color = PaintHelper.GetBookmarkMarkerTextColor(darkMode: false);

Assert.That(color, Is.EqualTo(Color.FromArgb(255, 190, 100, 0)));
}

[Test]
public void ApplyTabControlTheme_DarkMode_DisablesVisualStyleBackColorOnAllPages ()
{
Expand Down
Loading
Loading