20 lines
553 B
C#
20 lines
553 B
C#
using System.Windows;
|
|
using CursorLang.Core.Models;
|
|
|
|
namespace CursorLang.Settings.Services;
|
|
|
|
/// <summary>
|
|
/// Applies the light or the dark look to the windows of the application.
|
|
/// </summary>
|
|
public interface IThemeService
|
|
{
|
|
/// <summary>The theme in effect right now.</summary>
|
|
AppTheme CurrentTheme { get; }
|
|
|
|
/// <summary>
|
|
/// Hooks a window up to theme changes: the window title bar is drawn by Windows,
|
|
/// and its colour has to be switched for each window separately.
|
|
/// </summary>
|
|
void Register(Window window);
|
|
}
|