mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
feature<Preference>: add custom font settings
This commit is contained in:
parent
0643f5803c
commit
0c7f217106
29 changed files with 202 additions and 70 deletions
|
@ -27,6 +27,27 @@ namespace SourceGit.Models {
|
|||
/// </summary>
|
||||
public string Locale { get; set; } = "en_US";
|
||||
|
||||
/// <summary>
|
||||
/// 系统字体
|
||||
/// </summary>
|
||||
public string FontFamilyWindowSetting { get; set; } = "Microsoft YaHei UI";
|
||||
|
||||
[JsonIgnore]
|
||||
public string FontFamilyWindow {
|
||||
get => FontFamilyWindowSetting + ",Microsoft YaHei UI";
|
||||
set => FontFamilyWindowSetting = value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 用户字体(提交列表、提交日志、差异比较等)
|
||||
/// </summary>
|
||||
public string FontFamilyContentSetting { get; set; } = "Consolas";
|
||||
|
||||
[JsonIgnore] public string FontFamilyContent {
|
||||
get => FontFamilyContentSetting + ",Microsoft YaHei UI";
|
||||
set => FontFamilyContentSetting = value;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 头像服务器
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue