代码拉取完成,页面将自动刷新
From 233b85be08bbb940c6561e421f856c7f2d0c273c Mon Sep 17 00:00:00 2001
From: yueyaoqiang <yueyaoqiang@kylinos.cn>
Date: Wed, 28 Aug 2024 17:27:53 +0800
Subject: [PATCH 4/6] fix(default color scheme):change default color scheme to
Dracula Dark
---
src/org.mate.terminal.gschema.xml.in | 4 ++--
src/terminal-profile.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/org.mate.terminal.gschema.xml.in b/src/org.mate.terminal.gschema.xml.in
index 5cb44fb..53e7876 100644
--- a/src/org.mate.terminal.gschema.xml.in
+++ b/src/org.mate.terminal.gschema.xml.in
@@ -99,12 +99,12 @@
<description>True if the menubar should be shown in new windows, for windows/tabs with this profile.</description>
</key>
<key name="foreground-color" type="s">
- <default>'#E6E6E6'</default>
+ <default>'#F8F8F2'</default>
<summary>Default color of text in the terminal</summary>
<description>Default color of text in the terminal, as a color specification (can be HTML-style hex digits, or a color name such as "red").</description>
</key>
<key name="background-color" type="s">
- <default>'#000000'</default>
+ <default>'#282A36'</default>
<summary>Default color of terminal background</summary>
<description>Default color of terminal background, as a color specification (can be HTML-style hex digits, or a color name such as "red").</description>
</key>
diff --git a/src/terminal-profile.c b/src/terminal-profile.c
index bf953f1..13feceb 100644
--- a/src/terminal-profile.c
+++ b/src/terminal-profile.c
@@ -130,7 +130,7 @@ enum
/* Keep these in sync with the GSettings schema! */
#define DEFAULT_ALLOW_BOLD (TRUE)
-#define DEFAULT_BACKGROUND_COLOR ("#000000")
+#define DEFAULT_BACKGROUND_COLOR ("#282A36")
#define DEFAULT_BOLD_COLOR ("#FFFFFF")
#define DEFAULT_BOLD_COLOR_SAME_AS_FG (FALSE)
#define DEFAULT_BACKGROUND_DARKNESS (0.5)
@@ -146,7 +146,7 @@ enum
#define DEFAULT_DELETE_BINDING (VTE_ERASE_DELETE_SEQUENCE)
#define DEFAULT_EXIT_ACTION (TERMINAL_EXIT_CLOSE)
#define DEFAULT_FONT ("Monospace 12")
-#define DEFAULT_FOREGROUND_COLOR ("#E6E6E6")
+#define DEFAULT_FOREGROUND_COLOR ("#F8F8F2")
#define DEFAULT_LOGIN_SHELL (FALSE)
#define DEFAULT_NAME (NULL)
#define DEFAULT_PALETTE (terminal_palettes[TERMINAL_PALETTE_TANGO])
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。