diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-08-15 15:36:12 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-15 15:36:12 +0300 |
| commit | 9166e07b31f920540802fe46cbe3c0d52eece2bd (patch) | |
| tree | e1a92057138837473a4d29b99785bbac659dc8d3 /docs/next/website | |
| parent | 15539d3dec40bcc40e6f4bb0eaa4f073ad26b74f (diff) | |
fix(theme): keep default active rows subtle and add navigate cursor color (#2838)
refs #2792
Diffstat (limited to 'docs/next/website')
4 files changed, 15 insertions, 6 deletions
diff --git a/docs/next/website/src/content/docs/configuration.mdx b/docs/next/website/src/content/docs/configuration.mdx index 9f6a96f3..4138c9f5 100644 --- a/docs/next/website/src/content/docs/configuration.mdx +++ b/docs/next/website/src/content/docs/configuration.mdx @@ -263,7 +263,8 @@ You can override individual colors: ```toml [theme.custom] sidebar_bg = "#181825" -active_row_bg = "#313244" +active_row_bg = "#1e1e2e" +selection_bg = "#313244" panel_bg = "reset" accent = "#a6e3a1" green = "#a6e3a1" @@ -272,7 +273,7 @@ red = "#f38ba8" yellow = "#f9e2af" ``` -`sidebar_bg` optionally gives the desktop sidebar its own background. When omitted, the sidebar keeps the host terminal background. `active_row_bg` changes the active Space and focused Agent row background without affecting separators or scrollbar tracks. +`sidebar_bg` optionally gives the desktop sidebar its own background. When omitted, the sidebar keeps the host terminal background. `active_row_bg` changes the active Space and focused Agent row background without affecting separators or scrollbar tracks. `selection_bg` changes the Navigate-mode cursor row background in the sidebar. Color values accept hex, named colors, `rgb(r,g,b)`, or reset aliases like `reset`, `default`, `none`, and `transparent`. diff --git a/docs/next/website/src/content/docs/ja/configuration.mdx b/docs/next/website/src/content/docs/ja/configuration.mdx index afee131d..9556c771 100644 --- a/docs/next/website/src/content/docs/ja/configuration.mdx +++ b/docs/next/website/src/content/docs/ja/configuration.mdx @@ -239,7 +239,8 @@ dark_name = "catppuccin" ```toml [theme.custom] sidebar_bg = "#181825" -active_row_bg = "#313244" +active_row_bg = "#1e1e2e" +selection_bg = "#313244" panel_bg = "reset" accent = "#a6e3a1" green = "#a6e3a1" @@ -248,7 +249,7 @@ red = "#f38ba8" yellow = "#f9e2af" ``` -`sidebar_bg` を使うと、デスクトップのサイドバーだけに背景色を設定できます。省略した場合、サイドバーはホストターミナルの背景を使います。`active_row_bg` は、区切り線やスクロールバートラックに影響を与えず、アクティブな Space とフォーカス中の Agent 行の背景色を変更します。 +`sidebar_bg` を使うと、デスクトップのサイドバーだけに背景色を設定できます。省略した場合、サイドバーはホストターミナルの背景を使います。`active_row_bg` は、区切り線やスクロールバートラックに影響を与えず、アクティブな Space とフォーカス中の Agent 行の背景色を変更します。`selection_bg` は、サイドバーの Navigate モードのカーソル行の背景色を変更します。 色の値には、hex、名前付きの色、`rgb(r,g,b)`、または `reset`、`default`、`none`、`transparent` のようなリセットエイリアスが使えます。 diff --git a/docs/next/website/src/content/docs/zh-cn/configuration.mdx b/docs/next/website/src/content/docs/zh-cn/configuration.mdx index 9a4cd825..2ef568fa 100644 --- a/docs/next/website/src/content/docs/zh-cn/configuration.mdx +++ b/docs/next/website/src/content/docs/zh-cn/configuration.mdx @@ -239,7 +239,8 @@ dark_name = "catppuccin" ```toml [theme.custom] sidebar_bg = "#181825" -active_row_bg = "#313244" +active_row_bg = "#1e1e2e" +selection_bg = "#313244" panel_bg = "reset" accent = "#a6e3a1" green = "#a6e3a1" @@ -248,7 +249,7 @@ red = "#f38ba8" yellow = "#f9e2af" ``` -`sidebar_bg` 可单独设置桌面侧边栏的背景色。省略时,侧边栏继续使用宿主终端背景。`active_row_bg` 可更改当前 Space 和已聚焦 Agent 行的背景色,而不会影响分隔线或滚动条轨道。 +`sidebar_bg` 可单独设置桌面侧边栏的背景色。省略时,侧边栏继续使用宿主终端背景。`active_row_bg` 可更改当前 Space 和已聚焦 Agent 行的背景色,而不会影响分隔线或滚动条轨道。`selection_bg` 可更改侧边栏中 Navigate 模式光标行的背景色。 颜色值支持十六进制、命名颜色、`rgb(r,g,b)`,以及 `reset`、`default`、`none`、`transparent` 等重置别名。 diff --git a/docs/next/website/src/data/config-reference.json b/docs/next/website/src/data/config-reference.json index a2f8d7a1..aa5b7ed0 100644 --- a/docs/next/website/src/data/config-reference.json +++ b/docs/next/website/src/data/config-reference.json @@ -83,6 +83,12 @@ "description": "Set the active Space and focused Agent row background without changing separators or scrollbar tracks. Accepts hex, named colors, rgb(r,g,b), or reset aliases." }, { + "key": "theme.custom.selection_bg", + "type": "color", + "default": "unset", + "description": "Set the Navigate-mode cursor row background in the sidebar without changing other selection surfaces. Accepts hex, named colors, rgb(r,g,b), or reset aliases." + }, + { "key": "theme.custom.surface0", "type": "color", "default": "unset", |
