* Remove account rename dialog. Implement edit account details page. * Remove unused folder definition. * Adressing theming issues and adding reset button. Changing the UI a bit. * Enable auto indent in initializer. Use service from the application. * Adding color picker to acc setup dialog. Changing UI of edit acc details page.
27 lines
938 B
C#
27 lines
938 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Wino.Core.Domain.Enums;
|
|
using Wino.Core.Domain.Models.Personalization;
|
|
|
|
namespace Wino.Core.Domain.Interfaces;
|
|
|
|
public interface IThemeService : IInitializeAsync
|
|
{
|
|
event EventHandler<ApplicationElementTheme> ElementThemeChanged;
|
|
event EventHandler<string> AccentColorChanged;
|
|
|
|
Task<List<AppThemeBase>> GetAvailableThemesAsync();
|
|
Task<CustomThemeMetadata> CreateNewCustomThemeAsync(string themeName, string accentColor, byte[] wallpaperData);
|
|
Task<List<CustomThemeMetadata>> GetCurrentCustomThemesAsync();
|
|
List<string> GetAvailableAccountColors();
|
|
Task ApplyCustomThemeAsync(bool isInitializing);
|
|
|
|
// Settings
|
|
ApplicationElementTheme RootTheme { get; set; }
|
|
Guid CurrentApplicationThemeId { get; set; }
|
|
string AccentColor { get; set; }
|
|
string GetSystemAccentColorHex();
|
|
bool IsCustomTheme { get; }
|
|
}
|