From f1f5fa394a67a789914ccf2b24d534a0e466ae1b Mon Sep 17 00:00:00 2001 From: _ov4 Date: Wed, 21 Oct 2026 13:03:26 +0000 Subject: refactor(bundle): drive all UI colors from the 2026 Dark theme variables Co-Authored-By: Claude Sonnet 5.5 --- bundle/src/editor.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bundle/src/editor.js') diff --git a/bundle/src/editor.js b/bundle/src/editor.js index e351c9d..adfc90c 100644 --- a/bundle/src/editor.js +++ b/bundle/src/editor.js @@ -32,6 +32,8 @@ export const theme = { tokenColors: [{ settings: { foreground: dark.colors['editor.foreground'], background: dark.colors['editor.background'] } }, ...dark.tokenColors] }; +for (const [key, value] of Object.entries(dark.colors)) document.documentElement.style.setProperty(`--vscode-${key.replaceAll('.', '-')}`, value); + class TokenState { constructor(stack) { this.stack = stack; } clone() { return new TokenState(this.stack); } -- cgit v1.3.1-4-g156e