This commit is contained in:
lincube
2026-02-27 19:27:38 +08:00
parent 3d11ae6733
commit 4ded1c1f20
10 changed files with 1891 additions and 106 deletions

View File

@@ -0,0 +1,14 @@
using Avalonia.Media;
namespace LanMontainDesktop.Theme;
public sealed record AppThemePalette(
Color TextPrimary,
Color TextSecondary,
Color TextMuted,
Color TextAccent,
Color NavText,
Color NavSelectedText,
Color NavItemBackground,
Color NavItemHoverBackground,
Color NavItemSelectedBackground);

View File

@@ -0,0 +1,9 @@
using Avalonia.Media;
namespace LanMontainDesktop.Theme;
public sealed record ThemeColorContext(
Color AccentColor,
bool IsLightBackground,
bool IsLightNavBackground,
bool IsNightMode);