Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the error highlighter style #42

Open
Gozala opened this issue Oct 14, 2015 · 3 comments
Open

Change the error highlighter style #42

Gozala opened this issue Oct 14, 2015 · 3 comments

Comments

@Gozala
Copy link

Gozala commented Oct 14, 2015

Often times if flow errors many of them overlaps, in which case layers of red highlight makes it impossible to see or navigate around the code. Would be nice to change a style so it's possible to still navigate and edit code normally

screen shot 2015-10-13 at 6 33 06 pm

@tlrobinson
Copy link

+1, this is quite annoying.

@yann-stepienik-cko
Copy link

I quite like how the red highlight is different from other kind of highlight, but it definitely need to be readable without killing your eyes...

screen shot 2016-08-26 at 11 28 24

@justin-calleja
Copy link

justin-calleja commented Aug 30, 2016

A quick fix for now:

Open atom stylesheet via Atom menu -> Stylesheet

(or open /.atom/styles.less)

Then add:

atom-text-editor::shadow {
  .ide-flow-error {
    background-color: unset;
  }
  .highlight {
    &.ide-flow-error .region {
      background: #F6F7EB;
      z-index: -1;
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants