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 highlighted text background color #36

Closed
eandmsz opened this issue Jul 8, 2020 · 5 comments
Closed

Change highlighted text background color #36

eandmsz opened this issue Jul 8, 2020 · 5 comments

Comments

@eandmsz
Copy link

eandmsz commented Jul 8, 2020

Hi,

I would like to have red background color for the highlighted errors instead of coloring the font itself, so it becomes even more visible when scrolling through thousands of lines.
Is it possible to configure the text background color somehow?

@poucotm
Copy link
Owner

poucotm commented Jul 9, 2020

@eandmsz , I've updated for it (v1.10.0), you can set theme in settings :

"color" : { // "foreground" or ["foreground", "background"]
	"base"  : ["#70991f", ""], // info message
	"link"  : ["#b36915", ""], // link in info message
	"quote" : ["#428a99", ""], // quote in info message
},

@eandmsz
Copy link
Author

eandmsz commented Jul 9, 2020

Great, thanks!

@eandmsz eandmsz closed this as completed Jul 9, 2020
@eandmsz
Copy link
Author

eandmsz commented Jul 9, 2020

I think you forgot to update the theme colors in the default config, which makes it all white background if the user does not have their own theme colors in the user config.

@poucotm poucotm reopened this Jul 10, 2020
@poucotm
Copy link
Owner

poucotm commented Jul 10, 2020

Did you see white background ? I deleted the background setting on purpose. As changed, it sets the background automatically getting from current color-scheme. If you don't set color-scheme, sublime sets as default color-scheme : 'Monokai.sublime-color-scheme'.

@eandmsz
Copy link
Author

eandmsz commented Jul 10, 2020

Ah, it was a bracketing or comma error in my user configuration that caused this. I don't even know how it could happen as it gets validated when you save the config, so I cannot reproduce it now.

Thans, it works great.

@eandmsz eandmsz closed this as completed Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants