62 lines
2.6 KiB
Diff
62 lines
2.6 KiB
Diff
From 2cfffe7cede01516d2337cbb232e4ee9575332b5 Mon Sep 17 00:00:00 2001
|
|
From: yuanxing <yaunxing@kylinos.com.cn>
|
|
Date: Tue, 20 Oct 2020 11:13:17 +0800
|
|
Subject: [PATCH 2/3] fix(default color scheme):change default color scheme to
|
|
Dracula Dark
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
- 修改默认的颜色方案为Dracula Dark
|
|
|
|
Fixes #30872
|
|
---
|
|
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 32fab43..5f4a97b 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 07009ae..bedd492 100644
|
|
--- a/src/terminal-profile.c
|
|
+++ b/src/terminal-profile.c
|
|
@@ -127,7 +127,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)
|
|
@@ -144,7 +144,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.18.1
|
|
|