diff options
Diffstat (limited to 'docs/next/website/src')
4 files changed, 15 insertions, 0 deletions
diff --git a/docs/next/website/src/content/docs/configuration.mdx b/docs/next/website/src/content/docs/configuration.mdx index 2aa445e0..e0c41c28 100644 --- a/docs/next/website/src/content/docs/configuration.mdx +++ b/docs/next/website/src/content/docs/configuration.mdx @@ -242,6 +242,7 @@ You can override individual colors: ```toml [theme.custom] +sidebar_bg = "#181825" panel_bg = "reset" accent = "#a6e3a1" green = "#a6e3a1" @@ -250,6 +251,8 @@ red = "#f38ba8" yellow = "#f9e2af" ``` +`sidebar_bg` optionally gives the desktop sidebar its own background. When omitted, the sidebar keeps the host terminal background. + Color values accept hex, named colors, `rgb(r,g,b)`, or reset aliases like `reset`, `default`, `none`, and `transparent`. ## UI and sidebar diff --git a/docs/next/website/src/content/docs/ja/configuration.mdx b/docs/next/website/src/content/docs/ja/configuration.mdx index 3069ebef..acc958fb 100644 --- a/docs/next/website/src/content/docs/ja/configuration.mdx +++ b/docs/next/website/src/content/docs/ja/configuration.mdx @@ -238,6 +238,7 @@ dark_name = "catppuccin" ```toml [theme.custom] +sidebar_bg = "#181825" panel_bg = "reset" accent = "#a6e3a1" green = "#a6e3a1" @@ -246,6 +247,8 @@ red = "#f38ba8" yellow = "#f9e2af" ``` +`sidebar_bg` を使うと、デスクトップのサイドバーだけに背景色を設定できます。省略した場合、サイドバーはホストターミナルの背景を使います。 + 色の値には、hex、名前付きの色、`rgb(r,g,b)`、または `reset`、`default`、`none`、`transparent` のようなリセットエイリアスが使えます。 ## UI とサイドバー 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 257cb127..2247dff8 100644 --- a/docs/next/website/src/content/docs/zh-cn/configuration.mdx +++ b/docs/next/website/src/content/docs/zh-cn/configuration.mdx @@ -238,6 +238,7 @@ dark_name = "catppuccin" ```toml [theme.custom] +sidebar_bg = "#181825" panel_bg = "reset" accent = "#a6e3a1" green = "#a6e3a1" @@ -246,6 +247,8 @@ red = "#f38ba8" yellow = "#f9e2af" ``` +`sidebar_bg` 可单独设置桌面侧边栏的背景色。省略时,侧边栏继续使用宿主终端背景。 + 颜色值支持十六进制、命名颜色、`rgb(r,g,b)`,以及 `reset`、`default`、`none`、`transparent` 等重置别名。 ## UI 与侧边栏 diff --git a/docs/next/website/src/data/config-reference.json b/docs/next/website/src/data/config-reference.json index 8cd6f0a1..e7a0539b 100644 --- a/docs/next/website/src/data/config-reference.json +++ b/docs/next/website/src/data/config-reference.json @@ -53,6 +53,12 @@ "description": "Override the panel_bg color token on top of the base theme. Accepts hex, named colors, rgb(r,g,b), or reset aliases." }, { + "key": "theme.custom.sidebar_bg", + "type": "color", + "default": "unset", + "description": "Set the desktop sidebar background without changing other panel surfaces. Accepts hex, named colors, rgb(r,g,b), or reset aliases." + }, + { "key": "theme.custom.surface0", "type": "color", "default": "unset", |
