Implement clickable plaintext links and dark mode fix (#488)

* Plaintext links are now clickable and fixes dark mode.

- Change `AppxPackageDir` path from `C:\Users\bkaan\Desktop\Packages\` to `$(USERPROFILE)\Desktop\Packages\`, fixes error when building release.
- Plaintext links are now clickable, and match the same subtle style as Windows Mail.
- Remove `!important` from inline styles to allow Dark Reader to properly recolor the element.

* Implement setting for clickable plaintext link
This commit is contained in:
Kamil
2024-12-22 06:39:03 +11:00
committed by GitHub
parent e3b2f41a1c
commit a92ff89221
11 changed files with 138 additions and 50 deletions

View File

@@ -93,6 +93,11 @@ namespace Wino.Core.Domain.Interfaces
/// </summary>
bool RenderStyles { get; set; }
/// <summary>
/// Setting: Set whether plaintext links should be automatically converted to clickable links.
/// </summary>
bool RenderPlaintextLinks { get; set; }
/// <summary>
/// Gets the preferred rendering options for HTML rendering.
/// </summary>