added foreground color for text in tooltip

This commit is contained in:
2026-08-09 00:29:05 +05:00
parent 253373d47e
commit 7c5675f69f
6 changed files with 56 additions and 19 deletions
@@ -52,6 +52,18 @@ public sealed partial class SettingsViewModel : ObservableObject, IDisposable
Color.FromRgb(0xF5, 0xF5, 0xF5),
];
private static readonly Color[] ForegroundPalette =
[
Color.FromRgb(0xFF, 0xFF, 0xFF),
Color.FromRgb(0xD4, 0xD4, 0xD4),
Color.FromRgb(0x00, 0x00, 0x00),
Color.FromRgb(0xFA, 0xCC, 0x15),
Color.FromRgb(0x4A, 0xDE, 0x80),
Color.FromRgb(0x60, 0xA5, 0xFA),
Color.FromRgb(0xF9, 0x73, 0x16),
Color.FromRgb(0xF8, 0x71, 0x71),
];
public SettingsViewModel(AppSettings settings, ILocalizationService localization)
{
Settings = settings;
@@ -74,6 +86,8 @@ public sealed partial class SettingsViewModel : ObservableObject, IDisposable
public IReadOnlyList<Color> BackgroundPalette { get; } = Palette;
public IReadOnlyList<Color> TextPalette { get; } = ForegroundPalette;
public IReadOnlyList<EnumOption<AppTheme>> Themes { get; }
public IReadOnlyList<EnumOption<PopupPlacementMode>> PlacementModes { get; }