Files
cursor-lang/CursorLang/Services/IThemeService.cs
T
2026-08-09 20:02:23 +05:00

20 lines
539 B
C#

using System.Windows;
using CursorLang.Models;
namespace CursorLang.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);
}