From 481d44930fdd8d10789c80dddace906eff052252 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Thu, 5 Nov 2026 08:48:39 +0800 Subject: [PATCH] fix(themes): add --syn-global to the Harbor Night scheme and the token reference (#1400) #1393 added the --syn-global token to tokens.css but not to the Harbor Night scheme (the theme template) or the generated token reference in docs/plugins/themes.md, so the theme tests failed. The scheme gives it the --syn-variable colour, as tokens.css does. --- docs/plugins/themes.md | 3 ++- plugins/official/harbor-night/themes/harbor-night.scheme.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/plugins/themes.md b/docs/plugins/themes.md index 7f13e1ef4..f1bff5350 100644 --- a/docs/plugins/themes.md +++ b/docs/plugins/themes.md @@ -318,7 +318,7 @@ a token. -223 themeable tokens: 117 in the UI theme file, 106 in the editor colour scheme file. +224 themeable tokens: 117 in the UI theme file, 107 in the editor colour scheme file. ### Surfaces (UI theme) @@ -420,6 +420,7 @@ a token. | `--syn-number` | `#2aacb8` | `#1750eb` | | `--syn-punct` | `#bcbec4` | `#080808` | | `--syn-variable` | `#bcbec4` | `#080808` | +| `--syn-global` | `var(--syn-variable)` | `var(--syn-variable)` | | `--syn-param` | `#bcbec4` | `#080808` | | `--syn-property` | `#c77dbb` | `#871094` | | `--syn-constant` | `#c77dbb` | `#871094` | diff --git a/plugins/official/harbor-night/themes/harbor-night.scheme.json b/plugins/official/harbor-night/themes/harbor-night.scheme.json index 892744ea0..41bd29668 100644 --- a/plugins/official/harbor-night/themes/harbor-night.scheme.json +++ b/plugins/official/harbor-night/themes/harbor-night.scheme.json @@ -18,6 +18,7 @@ "--syn-number": "#7fc8f8", "--syn-punct": "#a9b4c2", "--syn-variable": "#d9dfe8", + "--syn-global": "#d9dfe8", "--syn-param": "#d9dfe8", "--syn-property": "#b9a3f0", "--syn-constant": "#e58fa3",