44 lines
1.2 KiB
Diff
44 lines
1.2 KiB
Diff
From 7096bb5084dd2d98994b33394090f107b14e0d70 Mon Sep 17 00:00:00 2001
|
|
From: yuanxing <yaunxing@kylinos.com.cn>
|
|
Date: Tue, 20 Oct 2020 11:13:49 +0800
|
|
Subject: [PATCH 3/3] fix(systerm color scheme):change systerm 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/terminal-screen.c | 13 +++++++++++++
|
|
1 file changed, 13 insertions(+)
|
|
|
|
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
|
|
index b4e7460..438ecbd 100644
|
|
--- a/src/terminal-screen.c
|
|
+++ b/src/terminal-screen.c
|
|
@@ -1107,6 +1107,19 @@ update_color_scheme (TerminalScreen *screen)
|
|
if (bg_rgba)
|
|
bg = *bg_rgba;
|
|
}
|
|
+ else
|
|
+ {
|
|
+ //set Dracula Dark to systerm color
|
|
+ fg.red = 0.972549;
|
|
+ fg.green = 0.972549;
|
|
+ fg.blue = 0.949019;
|
|
+ fg.alpha = 1;
|
|
+
|
|
+ bg.red = 0.156862;
|
|
+ bg.green = 0.164705;
|
|
+ bg.blue = 0.211764;
|
|
+ bg.alpha = 1;
|
|
+ }
|
|
|
|
n_colors = G_N_ELEMENTS (colors);
|
|
terminal_profile_get_palette (priv->profile, colors, &n_colors);
|
|
--
|
|
2.18.1
|
|
|