From 6e7dbce7e7bfcbee0a33f319764aeaa8894a0ef0 Mon Sep 17 00:00:00 2001 From: Pistonight Date: Wed, 18 Dec 2024 00:15:10 -0800 Subject: [PATCH] update tokens in theme --- src/vs/editor/standalone/common/themes.ts | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/vs/editor/standalone/common/themes.ts b/src/vs/editor/standalone/common/themes.ts index 2e24698ecf038..1a61712bcb2d4 100644 --- a/src/vs/editor/standalone/common/themes.ts +++ b/src/vs/editor/standalone/common/themes.ts @@ -17,8 +17,11 @@ export const vs: IStandaloneThemeData = { { token: 'emphasis', fontStyle: 'italic' }, { token: 'strong', fontStyle: 'bold' }, - { token: 'variable', foreground: '001188' }, + { token: 'variable', foreground: '001080' }, { token: 'variable.predefined', foreground: '4864AA' }, + { token: 'variable.readonly', foreground: '0070C1' }, + { token: 'variable.language', foreground: '0000FF' }, + { token: 'function', foreground: '795E26' }, { token: 'constant', foreground: 'dd0000' }, { token: 'comment', foreground: '008000' }, { token: 'number', foreground: '098658' }, @@ -89,9 +92,12 @@ export const vs_dark: IStandaloneThemeData = { { token: 'emphasis', fontStyle: 'italic' }, { token: 'strong', fontStyle: 'bold' }, - { token: 'variable', foreground: '74B0DF' }, + { token: 'variable', foreground: '9CDCFE' }, { token: 'variable.predefined', foreground: '4864AA' }, { token: 'variable.parameter', foreground: '9CDCFE' }, + { token: 'variable.readonly', foreground: '4FC1FF' }, + { token: 'variable.language', foreground: '569CD6' }, + { token: 'function', foreground: 'DCDCAA' }, { token: 'constant', foreground: '569CD6' }, { token: 'comment', foreground: '608B4E' }, { token: 'number', foreground: 'B5CEA8' }, @@ -161,8 +167,11 @@ export const hc_black: IStandaloneThemeData = { { token: 'emphasis', fontStyle: 'italic' }, { token: 'strong', fontStyle: 'bold' }, - { token: 'variable', foreground: '1AEBFF' }, + { token: 'variable', foreground: '9CDCFE' }, { token: 'variable.parameter', foreground: '9CDCFE' }, + { token: 'variable.readonly', foreground: '9CDCFE' }, + { token: 'variable.language', foreground: '569CD6' }, + { token: 'function', foreground: 'DCDCAA' }, { token: 'constant', foreground: '569CD6' }, { token: 'comment', foreground: '608B4E' }, { token: 'number', foreground: 'FFFFFF' }, @@ -220,8 +229,11 @@ export const hc_light: IStandaloneThemeData = { { token: 'emphasis', fontStyle: 'italic' }, { token: 'strong', fontStyle: 'bold' }, - { token: 'variable', foreground: '264F70' }, + { token: 'variable', foreground: '001080' }, { token: 'variable.predefined', foreground: '4864AA' }, + { token: 'variable.readonly', foreground: '001080' }, + { token: 'variable.language', foreground: '0F4A85' }, + { token: 'function', foreground: '5E2CBC' }, { token: 'constant', foreground: 'dd0000' }, { token: 'comment', foreground: '008000' }, { token: 'number', foreground: '098658' },