Monday, February 15, 2016

Atom: Change the Find results highlight color

Recently I started using Atom (a text editor). It works great out of the box. One thing kind of annoys me is the default highlight color for Find results. I want something with higher contrast so I can spot the Find results easily, especially when there's more then 1000+ matches in the text file. Turns out changing the highlight color is fairly easy

To change the highlight color:
1. Goto Atom > Open Your Stylessheet
2. Add the following code:
atom-text-editor::shadow .highlight.find-result .region {
    background-color: rgba(246, 255, 0, 0.20);
}


3. Save and restart Atom


Ref:
How to change find and replace highlight color? - support - Atom Discussion

No comments: