From 43582818360f355b70cb1aec30d571779df25051 Mon Sep 17 00:00:00 2001 From: Wang Weixuan Date: Sat, 3 Feb 2024 23:55:11 +0800 Subject: [PATCH] Support the "Inline CSS Color" extension See https://marketplace.visualstudio.com/items?itemName=outofsync42.inline-css-color Workaround for https://github.com/textmate/html.tmbundle/issues/88 --- src/workbench.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/workbench.ts b/src/workbench.ts index deb8d9e..bfb509e 100644 --- a/src/workbench.ts +++ b/src/workbench.ts @@ -736,7 +736,18 @@ function generateWorkbench( 'charts.yellow': INHERIT, // Ports - 'ports.iconRunningProcessForeground': INHERIT + 'ports.iconRunningProcessForeground': INHERIT, + + // For extension https://marketplace.visualstudio.com/items?itemName=outofsync42.inline-css-color + // Workaround for https://github.com/textmate/html.tmbundle/issues/88 + 'inline.css.propertyName': palette.mono1, + 'inline.css.punctuation': palette.mono1, + 'inline.css.supportFunction': palette.hue1, + 'inline.css.valueConstant': palette.hue6, + 'inline.css.valueNumeric': palette.hue6, + 'inline.css.valueNumericUnit': palette.hue6, + 'inline.css.keywordImportant': palette.hue3, + 'inline.css.string': palette.hue4 } }