diff --git a/packages/editor/CodeMirror/theme.ts b/packages/editor/CodeMirror/theme.ts index 7a2c73b8b..73c65bae8 100644 --- a/packages/editor/CodeMirror/theme.ts +++ b/packages/editor/CodeMirror/theme.ts @@ -258,6 +258,14 @@ const createTheme = (theme: any): Extension[] => { tag: tags.typeName, color: isDarkTheme ? '#7ff' : '#a00', }, + { + tag: tags.inserted, + color: isDarkTheme ? '#7f7' : '#471', + }, + { + tag: tags.deleted, + color: isDarkTheme ? '#f96' : '#a21', + }, ]); return [