From 420341c3837f830a1be1acfcd17a0fc28c13f06d Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Wed, 10 Mar 2021 21:06:47 +0100 Subject: [PATCH] fix: fix: add basic markup highlight Closes #514 --- scripts/generator/color-set.ts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/scripts/generator/color-set.ts b/scripts/generator/color-set.ts index 175cba0..8b83a30 100644 --- a/scripts/generator/color-set.ts +++ b/scripts/generator/color-set.ts @@ -48,6 +48,33 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => { * Override all syntax tokens */ customTokens: [ + { + name: 'Markup Deleted', + scope: [ + 'markup.deleted' + ], + settings: { + foreground: theme.scheme.base.red + } + }, + { + name: 'Markup Inserted', + scope: [ + 'markup.inserted' + ], + settings: { + foreground: theme.scheme.base.green + } + }, + { + name: 'Markup Underline', + scope: [ + 'markup.underline' + ], + settings: { + fontStyle: 'underline' + } + }, { name: 'Keyword Control', scope: [