From 31e477b7fbf3e905b3e52c9e79ac3e3c896a40e8 Mon Sep 17 00:00:00 2001 From: Shohruh Ismoilov Date: Thu, 5 Nov 2026 21:16:38 +0500 Subject: [PATCH] fix(themes): include PHP tokens in Harbor Night and the reference (#1585) Harbor Night and the theme reference were missing the --syn-php-variable / --syn-php-function-call tokens added for PHP highlighting, so scripts/theme/theme.test.ts failed on main. Co-authored-by: shohruh-genius <7658451+shohruh-genius@users.noreply.github.com> --- docs/plugins/themes.md | 4 +++- plugins/official/harbor-night/themes/harbor-night.scheme.json | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/plugins/themes.md b/docs/plugins/themes.md index db1c98064..b0a5c0f3b 100644 --- a/docs/plugins/themes.md +++ b/docs/plugins/themes.md @@ -324,7 +324,7 @@ a token. -240 themeable tokens: 121 in the UI theme file, 119 in the editor colour scheme file. +242 themeable tokens: 121 in the UI theme file, 121 in the editor colour scheme file. ### Surfaces (UI theme) @@ -446,6 +446,8 @@ a token. | `--syn-python-predefined-usage` | `var(--syn-predefined)` | `var(--syn-predefined)` | | `--syn-python-fstring` | `#a5c261` | `var(--syn-string)` | | `--syn-python-bytes` | `#a5c261` | `var(--syn-string)` | +| `--syn-php-variable` | `var(--syn-property)` | `var(--syn-property)` | +| `--syn-php-function-call` | `var(--syn-function)` | `var(--syn-function)` | | `--syn-builtin` | `#8888c6` | `#000080` | | `--syn-self` | `#94558d` | `#94558d` | | `--syn-keyword-arg` | `#aa4926` | `#660099` | diff --git a/plugins/official/harbor-night/themes/harbor-night.scheme.json b/plugins/official/harbor-night/themes/harbor-night.scheme.json index 416058d95..ee267f13d 100644 --- a/plugins/official/harbor-night/themes/harbor-night.scheme.json +++ b/plugins/official/harbor-night/themes/harbor-night.scheme.json @@ -34,6 +34,8 @@ "--syn-python-predefined-usage": "#c4a0f2", "--syn-python-fstring": "#9ccc7a", "--syn-python-bytes": "#9ccc7a", + "--syn-php-variable": "#b9a3f0", + "--syn-php-function-call": "#f2d07a", "--syn-builtin": "#6fc3df", "--syn-self": "#d6849c", "--syn-keyword-arg": "#c4a0f2",