From 404e86cef42f136f575e167f60b9e7d73ea1c869 Mon Sep 17 00:00:00 2001 From: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com> Date: Sun, 17 Dec 2023 12:56:46 -0800 Subject: [PATCH] Desktop,Mobile: Fixes #9524: Fix Beta Editor diff highlighting (#9525) --- packages/editor/CodeMirror/theme.ts | 8 ++++++++ 1 file changed, 8 insertions(+) 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 [