代码拉取完成,页面将自动刷新
From bf6b6b5204339b33b80b65f2148428ddaf91b114 Mon Sep 17 00:00:00 2001
From: yueyaoqiang <yueyaoqiang@kylinos.cn>
Date: Wed, 28 Aug 2024 17:21:23 +0800
Subject: [PATCH 2/6] feature(color scheme):add two color scheme:Dracula Dark
---
po/zh_CN.po | 8 ++++++++
src/profile-editor.c | 10 ++++++++++
2 files changed, 18 insertions(+)
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 2c59bc8..5abefa9 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -1452,6 +1452,14 @@ msgstr "Solarized 亮色"
msgid "Solarized dark"
msgstr "Solarized 暗色"
+#: ../src/profile-editor.c:79
+msgid "Dracula dark"
+msgstr "Dracula 暗色"
+
+#: ../src/profile-editor.c:84
+msgid "Gruvbox dark"
+msgstr "Gruvbox 暗色"
+
#: src/profile-editor.c:498
#, c-format
msgid "Error parsing command: %s"
diff --git a/src/profile-editor.c b/src/profile-editor.c
index 79515fa..4de7f77 100644
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
@@ -76,6 +76,16 @@ static const TerminalColorScheme color_schemes[] =
{ 0.513725, 0.580392, 0.588235, 1 },
{ 0, 0.168627, 0.211764, 1 }
},
+ /*Dracula */
+ { N_("Dracula dark"),
+ { 0.972549, 0.972549, 0.949019, 1 },
+ { 0.156862, 0.164705, 0.211764, 1 }
+ },
+ /*Gruvbox */
+ { N_("Gruvbox dark"),
+ { 0.921568, 0.858823, 0.698039, 1 },
+ { 0.156862, 0.156862, 0.156862, 1 }
+ },
};
static void profile_forgotten_cb (TerminalProfile *profile,
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。