File tree Expand file tree Collapse file tree 3 files changed +21
-10
lines changed
Expand file tree Collapse file tree 3 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 13421342;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13431343
13441344(tm-define (get-marked-color)
1345- (let ((color (get-preference "marked-color")))
1345+ (let* ((theme (get-preference "gui theme"))
1346+ (default-color (if (== theme "liii-night")
1347+ "#dc9f4f" ; 深色主题默认
1348+ "#ffe47f")) ; 浅色主题默认
1349+ (color (get-preference "marked-color")))
13461350 (if (or (== color "") (== color "default"))
1347- "#ffe47f"
1351+ default-color
13481352 color)))
13491353
13501354(tm-define (pure-text? t)
Original file line number Diff line number Diff line change 350350 (with-buffer (search-buffer)
351351 (if ok?
352352 (init-default " bg-color" )
353- (init-env " bg-color" " # fff0f0" )))
353+ (init-env " bg-color" ( if (== (get-preference " gui theme " ) " liii-night " ) " #4a2c2c " " # fff0f0" ) )))
354354 (when too-many-matches?
355355 ; ;(display* "Extend limit to " (* 2 limit) "\n")
356356 (delayed
Original file line number Diff line number Diff line change 22
33## 如何测试
44
5- - 清除缓存
5+ 0 . 清除缓存
66 - Windows下是先在文件资源管理器里的地址输入框里输入 ` %appdata% ` ,然后删除 ` AppData/Roaming/MoganLab ` 和 ` AppData/Local/MoganLab ` 。
77 - Linux下是删除 ` .cache/MoganLab ` 。
88 - macOS下是删除 ` ~/Library/Caches/MoganLab ` 。
99
10- - 现在切换主题为 liii-dark 后,默认启用编辑区域的dark样式
11- - 将 plain 翻译为 浅色
12- - 将 dark 翻译为 深色
13- - 将原先的其他样式 ,放进其它里
10+ 1 . 现在切换主题为 liii-dark 后,默认启用编辑区域的dark样式
11+ - 将 plain 翻译为 浅色
12+ - 将 dark 翻译为 深色
13+ - 将原先的样式 ,放进其它里
1414
15- 测试文件:TeXmacs\tests\tmu\202_101.tmu
16- - 检查导言区文本颜色
15+ 2 . 测试导言区和组件高亮
16+ - 测试文件:TeXmacs\tests\tmu\202_101.tmu
17+ - 检查导言区文本颜色
18+
19+ 3 . 测试功能颜色修改
20+ - 使用搜索/替换功能,随便输入内容,不匹配时颜色是否为深红色
21+ - 使用高亮功能,liii-night 下是橙色
22+
23+ ## 2025/12/31 搜索/替换不匹配时的粉色,在 liii-night 里更换成深红色,并修改marked的深色默认值
1724
1825## 2025/12/30 修改dark样式下导言区的颜色
1926
You can’t perform that action at this time.
0 commit comments