Change:
} registerThemingParticipant((theme, collector) => { <del> let added = theme.getColor(diffInserted); </del> <ins> const added = theme.getColor(diffInserted); </ins> if (added) { collector.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { background-color: ${added}; }`); collector.addRule(`.monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: ${added}; }`); collector.addRule(`.monaco-editor .inline-added-margin-view-zone { background-color: ${added}; }`); } <del> let removed = theme.getColor(diffRemoved); </del> <ins> const removed = theme.getColor(diffRemoved); </ins> if (removed) { collector.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { background-color: ${removed}; }`); collector.addRule(`.monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: ${removed}; }`); collector.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${removed}; }`); } <del> let addedOutline = theme.getColor(diffInsertedOutline); </del> <ins> const addedOutline = theme.getColor(diffInsertedOutline); </ins> if (addedOutline) { <del> collector.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px dashed ${addedOutline}; }`); </del> <ins> collector.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${theme.type === 'hc' ? 'dashed' : 'solid'} ${addedOutline}; }`); </ins> } <del> let removedOutline = theme.getColor(diffRemovedOutline); </del> <ins> const removedOutline = theme.getColor(diffRemovedOutline); </ins> if (removedOutline) { <del> collector.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px dashed ${removedOutline}; }`); </del> <ins> collector.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${theme.type === 'hc' ? 'dashed' : 'solid'} ${removedOutline}; }`); </ins> } <del> let shadow = theme.getColor(scrollbarShadow); </del> <ins> const shadow = theme.getColor(scrollbarShadow); </ins> if (shadow) { collector.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${shadow}; }`); }

Discussion:
VSCode Version: 1.21 OS Version: macOS Currently border style for selection and word highlight are dotted. It's possible to make it like it's with which is straight lines? Selection () <img width="36" alt="image" src="https://user-"As you can see it's dotted. Word highlight (/) <img width="264" alt="image" src="https://user-"As you can see it's dotted. Find match () <img width="64" alt="image" src="https://user-"As you can see border lines are straight, this is how it needs to look like in selection and word highlight borders.
Same problem is with . As I can see only is working as expected.
Same issue on ubuntu 17.10, since the recent update (1.21) the styling's been broken.
This issue is theme specific, doesn't exist on Monokai or other themes. I reckon this only concerns OneDark Pro.
This doesn't exist in Monokai because Monokai theme doesn't use border for search since there's no such color specified in theme. As you can see in this issue I'm talking about new colors introduced in VS Code 1.21 which borders text, but the problem is border are dotted instead of straight line. So this isn't OS or theme specified, the problem is VS Code and only one color works properly () which uses lines for border instead of dots.
I found here it's . Should I make a PR in proper places to change from to ? /cc
I also see is while others are . Is that correct? I would also like to suggest to use border solid for . /cc
! With different border styles, we get this issue above in the screenshot. We definitely need solid style. Right now it looks like garland :D
since you're working with colors, what do you think? The idea is from Atom with plugin. It's really weird to see the dotted or dashed border styles. If needed I can create a PR.
We can do solid border styles for anything except high contrast. In the high contrast theme, the same color is used for all of these decorations and the only distinguishable trait is the border style.
I'm very happy!!! What about which have , it's correct? Also, you forgot to set to too.

If you want I can create a PR.
:+1: for a PR
Thanks. I will start to work on it right now!
Already done in Please review If everything is OK with PR please include it in next release (1.22.0).
this won't make it into 1.22. Only critical fixes at this point.
Maybe 1.22.1? Anyways thanks for explaining it, I really appreciate your and your team work on VS Code.