added interface themes

This commit is contained in:
2026-08-09 00:09:47 +05:00
parent 8a19cb6a9c
commit b581d560b0
16 changed files with 607 additions and 19 deletions
+3 -1
View File
@@ -1,4 +1,5 @@
using System.Windows;
using CursorLang.Services;
using CursorLang.ViewModels;
namespace CursorLang.Views;
@@ -8,9 +9,10 @@ namespace CursorLang.Views;
/// </summary>
public partial class MainWindow : Window
{
public MainWindow(SettingsViewModel viewModel)
public MainWindow(SettingsViewModel viewModel, IThemeService theme)
{
InitializeComponent();
DataContext = viewModel;
theme.Register(this);
}
}