From c7b79294e28fe7c835691a25597fabf226ecfc20 Mon Sep 17 00:00:00 2001 From: Can Celik Date: Sun, 6 Sep 2026 23:44:15 +0300 Subject: feat: add conditional styles for sidebar tokens (#3693) --- docs/next/website/src/data/config-reference.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/next/website/src/data/config-reference.json') diff --git a/docs/next/website/src/data/config-reference.json b/docs/next/website/src/data/config-reference.json index 990509b2..ea04a2cc 100644 --- a/docs/next/website/src/data/config-reference.json +++ b/docs/next/website/src/data/config-reference.json @@ -1053,7 +1053,7 @@ "key": "ui.sidebar.agents.rows", "type": "list of token rows", "default": "[[\"state_icon\", \"workspace\", \"tab\"], [\"agent\"]]", - "description": "Default expanded Agent sidebar layout. Entries may be token strings or inline { token, fg, bold, dim } style tables. Supports built-in and $name metadata tokens; at most 16 rows and 16 tokens per row." + "description": "Default expanded Agent sidebar layout. Entries may be token strings or inline { token, fg, bold, dim, rules } style tables. Text-valued built-ins and $name metadata tokens accept up to 16 ordered rules using equals, contains, starts_with, gt, or lt; the first match overrides specified styles. Text conditions optionally accept ignore_case for ASCII matching; numeric conditions require full finite numbers. state_icon accepts fixed styles only. At most 16 rows and 16 tokens per row." }, { "key": "ui.sidebar.agents.rows_by_agent", @@ -1071,7 +1071,7 @@ "key": "ui.sidebar.spaces.rows", "type": "list of token rows", "default": "[[\"state_icon\", \"workspace\"], [\"branch\", \"git_status\"]]", - "description": "Expanded Space sidebar layout. Entries may be token strings or inline { token, fg, bold, dim } style tables. Supports built-in and $name metadata tokens; at most 16 rows and 16 tokens per row." + "description": "Expanded Space sidebar layout. Entries may be token strings or inline { token, fg, bold, dim, rules } style tables. Text-valued built-ins and $name metadata tokens accept up to 16 ordered rules using equals, contains, starts_with, gt, or lt; the first match overrides specified styles. Text conditions optionally accept ignore_case for ASCII matching; numeric conditions require full finite numbers. state_icon and git_status accept fixed styles only. At most 16 rows and 16 tokens per row." }, { "key": "ui.accent", -- cgit v1.2.3