Skip to content

Commit

Permalink
Merge pull request #10397 from ckeditor/ck/10242
Browse files Browse the repository at this point in the history
Other (find-and-replace): Increased the contrast between selected and unselected find and replace results. Closes #10242.
  • Loading branch information
oleq authored Aug 23, 2021
2 parents c2725ef + c4a836f commit f5a2c57
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
<title>Document</title>
</head>
<body>
<style>
/* That's just to make find results a little more visible. */
.ck-find-result_selected {
background: red;
}
</style>
<button id="readonly-toggle">Toggle editor readonly mode</button>
<div id="editor">
<p>CupCake ipsum dolor sit amet biscuit icing bears candy. Liquorice biscuit brownie croissant.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
</head>
<body>
<style>
/* That's just to make find results a little more visible. */
.ck-find-result_selected {
background: red;
}

.ck-editor__editable p {
margin: 100px auto 100px;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/ckeditor5-find-and-replace/theme/findandreplace.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
*/

.ck-find-result {
background: hsl(58, 100%, 50%);
background: hsl(60, 100%, 50%);
color: var(--ck-color-text);
}

.ck-find-result_selected {
background: hsl(52, 100%, 50%);
background: hsl(29, 100%, 60%);
}

0 comments on commit f5a2c57

Please sign in to comment.