From 2818c4a519705b2dd23772b93340b414d7a68b45 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 15 Feb 2024 14:55:19 +0000 Subject: [PATCH] Move history diff viewer color style out of CodeMirror theme (#17154) GitOrigin-RevId: 1fa527542c3b901c731cb79e1a6063e394e4af34 --- services/web/frontend/js/features/history/extensions/theme.ts | 1 - services/web/frontend/stylesheets/app/editor/history-react.less | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/frontend/js/features/history/extensions/theme.ts b/services/web/frontend/js/features/history/extensions/theme.ts index 9a95f557d4..6dea59e191 100644 --- a/services/web/frontend/js/features/history/extensions/theme.ts +++ b/services/web/frontend/js/features/history/extensions/theme.ts @@ -61,7 +61,6 @@ const baseTheme = EditorView.baseTheme({ fontSize: 'var(--font-size)', fontFamily: 'var(--source-font-family)', lineHeight: 'var(--line-height)', - color: '#000', }, '.cm-gutters': { fontSize: 'var(--font-size)', diff --git a/services/web/frontend/stylesheets/app/editor/history-react.less b/services/web/frontend/stylesheets/app/editor/history-react.less index 4c828f7500..4dd8a8cb7b 100644 --- a/services/web/frontend/stylesheets/app/editor/history-react.less +++ b/services/web/frontend/stylesheets/app/editor/history-react.less @@ -392,6 +392,7 @@ history-root { display: flex; flex-direction: column; position: relative; + color: #000; .cm-viewer-container, .cm-editor {