using NexusReader.Domain.Enums;
using NexusReader.UI.Shared.Services;

namespace NexusReader.Web.Services;

public sealed class ServerThemeService : IThemeService
{
    public ThemeMode Mode => ThemeMode.System;
    public bool IsLightMode => false;

    // Explicit event implementation to avoid CS0067 warning about unused events on the server
    public event Action<ThemeMode>? OnThemeChanged
    {
        add { }
        remove { }
    }

    public Task InitializeAsync() => Task.CompletedTask;
    public Task SetThemeAsync(ThemeMode mode) => Task.CompletedTask;
    public Task ToggleTheme() => Task.CompletedTask;
}
