mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
refactor: rename Models.CustomColorSchema
to Models.ThemeOverrides
because it do NOT contains only colors currently.
This commit is contained in:
parent
af388bad60
commit
16d9b627f0
12 changed files with 49 additions and 74 deletions
|
@ -66,16 +66,16 @@ namespace SourceGit.ViewModels
|
|||
set
|
||||
{
|
||||
if (SetProperty(ref _theme, value))
|
||||
App.SetTheme(_theme, _colorOverrides);
|
||||
App.SetTheme(_theme, _themeOverrides);
|
||||
}
|
||||
}
|
||||
|
||||
public string ColorOverrides
|
||||
public string ThemeOverrides
|
||||
{
|
||||
get => _colorOverrides;
|
||||
get => _themeOverrides;
|
||||
set
|
||||
{
|
||||
if (SetProperty(ref _colorOverrides, value))
|
||||
if (SetProperty(ref _themeOverrides, value))
|
||||
App.SetTheme(_theme, value);
|
||||
}
|
||||
}
|
||||
|
@ -487,7 +487,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
private string _locale = "en_US";
|
||||
private string _theme = "Default";
|
||||
private string _colorOverrides = string.Empty;
|
||||
private string _themeOverrides = string.Empty;
|
||||
private FontFamily _defaultFont = null;
|
||||
private FontFamily _monospaceFont = null;
|
||||
private double _defaultFontSize = 13;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue