diff --git a/wax-prosemirror-layouts/src/layouts/EditorElements.js b/wax-prosemirror-layouts/src/layouts/EditorElements.js index 36432d02f1cfd7a9153bc81921ed5f6ce38373d8..922a2f997102719ee69f804158ff89fadfe7dafb 100644 --- a/wax-prosemirror-layouts/src/layouts/EditorElements.js +++ b/wax-prosemirror-layouts/src/layouts/EditorElements.js @@ -1,6 +1,6 @@ import { css } from 'styled-components'; -import { th } from '@pubsweet/ui-toolkit'; +import { lighten, th } from '@pubsweet/ui-toolkit'; /* All styles regarding ProseMirror surface and elements */ @@ -212,8 +212,14 @@ export default css` } } - .selected-insertion, - .selected-deletion, + .selected-insertion { + background: ${lighten('royalblue', 0.65)}; + } + + .selected-deletion { + background: ${lighten('indianred', 0.65)}; + } + .selected-format-change, .selected-block-change { background-color: #eefbfb;