t9md / atom-quick-highlight

Highlight text quickly
https://atom.io/packages/quick-highlight
MIT License
32 stars 7 forks source link

Additional decoration #10

Closed masics closed 7 years ago

masics commented 7 years ago

For some reason in my configuration I barely see the selection. I tried to use "highlight and box" but it looks exactly the same (most likely as "box"). Could you please check it out?

gouegd commented 7 years ago

Hi ! I was wondering something similar and dug up a bit. The highlight or box styling only applies to highlights that are toggled manually, not to the automatic (optional) word highlight, that's why you don't see a difference between the two.

Here's how I modified the automatic word highlighting to suit my config (box-selection is the style applied for automatic highlightings):

atom-text-editor::shadow {
  .quick-highlight.box-selection .region {
    border-radius: 0;
    border-color: red;
  }
}
t9md commented 7 years ago

Sorry, I didn't understand this issue till now. Since I'm not using selection highlight.

I confirmed selection highlight is VERY dim. This become issue from when depending less variable @syntax-result-marker-color was changed(used this color for border of selection).

Will release update soon. And will add instruction for "how to modify style" in README.md

For the selection color style, current box-selection is NOT very intuitive so will change it to bare selection

t9md commented 7 years ago

Released v0.6.2

t9md commented 7 years ago

See style.less example in README.md if you don't like new selection highlight style.