Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions TeXmacs/packages/themes/dark/dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@

<assign|pre-edit|<macro|body|<with|ornament-color|#707070|ornament-sunny-color|#808080|ornament-shadow-color|#606060|ornament-border|1px|ornament-hpadding|2px|ornament-vpadding|2px|<smash|<ornament|<with|color|white|<arg|body>>>>>>>

<assign|focus-color|#3A86FF33>
<assign|focus-color|#ffffff0e>

<assign|selection-color|#3A86FF33>
<assign|selection-color|#ffffff20>

<assign|scheme-prompt-color|dark green>

Expand Down
21 changes: 21 additions & 0 deletions devel/213_22.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# [213_22] Replace focus border with translucent background

## 如何测试

1. 打开软件,进入深色模式
2. 插入一个python环境,输入print("hello world")并运行
3. 观察,文档底色为深色,当前所处环境为很浅的透明灰色
4. 鼠标拖动选中一部分文本,观察,选中文本的颜色相较于环境更深一些,可以做到较为舒适的高亮效果

## 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.
Expand Down