From 80735842e82454898177197ac4d6eaa00be7e44f Mon Sep 17 00:00:00 2001 From: MoonL79 <151734889+MoonL79@users.noreply.github.com> Date: Tue, 31 Mar 2026 16:13:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[213=5F22]=20=E4=BC=98=E5=8C=96=E9=BB=91?= =?UTF-8?q?=E5=A4=9C=E6=A8=A1=E5=BC=8F=E4=B8=8B=E7=9A=84focus=5Fcolor?= =?UTF-8?q?=E5=92=8Cselection-color?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TeXmacs/packages/themes/dark/dark.ts | 4 ++-- devel/213_22.md | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/TeXmacs/packages/themes/dark/dark.ts b/TeXmacs/packages/themes/dark/dark.ts index 78d689d709..a18dd65e12 100644 --- a/TeXmacs/packages/themes/dark/dark.ts +++ b/TeXmacs/packages/themes/dark/dark.ts @@ -74,9 +74,9 @@ >>>>>> - + - + diff --git a/devel/213_22.md b/devel/213_22.md index a3886ad61f..1fba97279a 100644 --- a/devel/213_22.md +++ b/devel/213_22.md @@ -1,5 +1,21 @@ # [213_22] Replace focus border with translucent background +## 如何测试 + +## 2026/03/31 优化黑夜模式下的focus_color和selection-color + +### What +使用 #ffffff0e 作为 focus_color +使用 #ffffff20 作为 selection-color + +### Why +深色主题下的高亮颜色很瞎眼,需要改 + +### How +修改 dark.ts 文件中的 focus-color 和 selection-color 的颜色 + +## 2026/03/04 + Issue: https://github.com/MoganLab/mogan/issues/2759 Replace the cyan border (`#0ff`) used to indicate focused structures (tables, math formulas, etc.) with a translucent background fill, improving visual clarity and reducing distraction. From ba7cdc951997ca8c6b0047715e2ff19ff5181044 Mon Sep 17 00:00:00 2001 From: MoonL79 <151734889+MoonL79@users.noreply.github.com> Date: Tue, 31 Mar 2026 16:16:20 +0800 Subject: [PATCH 2/2] wip --- devel/213_22.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/devel/213_22.md b/devel/213_22.md index 1fba97279a..73c201e9c1 100644 --- a/devel/213_22.md +++ b/devel/213_22.md @@ -2,6 +2,11 @@ ## 如何测试 +1. 打开软件,进入深色模式 +2. 插入一个python环境,输入print("hello world")并运行 +3. 观察,文档底色为深色,当前所处环境为很浅的透明灰色 +4. 鼠标拖动选中一部分文本,观察,选中文本的颜色相较于环境更深一些,可以做到较为舒适的高亮效果 + ## 2026/03/31 优化黑夜模式下的focus_color和selection-color ### What