17 lines
503 B
C#
17 lines
503 B
C#
using CursorLang.Core.Models;
|
|
using CursorLang.Settings.Services;
|
|
|
|
namespace CursorLang.Settings.Tests.Infrastructure;
|
|
|
|
/// <summary>
|
|
/// A theme that paints nothing and only remembers the windows attached to it.
|
|
/// </summary>
|
|
internal sealed class FakeThemeService : IThemeService
|
|
{
|
|
public AppTheme CurrentTheme { get; set; } = AppTheme.Light;
|
|
|
|
internal List<System.Windows.Window> Registered { get; } = [];
|
|
|
|
public void Register(System.Windows.Window window) => Registered.Add(window);
|
|
}
|