Files
LanMountainDesktop/LanMountainDesktop/Services/IMaterialColorService.cs

24 lines
658 B
C#
Raw Normal View History

using System;
using Avalonia.Controls;
using LanMountainDesktop.Models;
using LanMountainDesktop.Services.Settings;
namespace LanMountainDesktop.Services;
public interface IMaterialColorService
{
MaterialColorSnapshot GetMaterialColorSnapshot();
MaterialColorSnapshot BuildMaterialColorPreview(ThemeAppearanceSettingsState pendingState);
event EventHandler<MaterialColorSnapshot>? MaterialColorChanged;
void ApplyThemeResources(IResourceDictionary resources);
MaterialSurfaceSnapshot GetSurface(MaterialSurfaceRole role);
void ApplyWindowMaterial(Window window, MaterialSurfaceRole role);
void RefreshWallpaperColors();
}