lightweight variant (#1)
Reviewed-on: #1 Co-authored-by: Aleksandr Neychev <alexnejchev73@gmail.com>
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user