linked-data.syntaxes
linked-data.syntaxes copied to clipboard
Request: support for colour scheme
Love the package but not a fan of dark theme. I was wonder if you would consider supporting in the future the Soda colour scheme.
The package actually ships with a light color scheme as well (although it is still in beta).
![Screen Shot 2019-04-30 at 10 48 54 AM](https://user-images.githubusercontent.com/1456400/56982219-a8be6700-6b35-11e9-96b6-2fc73f4d1113.png)
If you are a big fan of the Soda color scheme, maybe you'd be interested in submitting a PR for integrating a similar one into this package? The schemes in the package right now are actually generated using a simple starting palette of 10 colors and then shifting the shades by some amount for each scope; see here.
The package actually ships with a light color scheme as well (although it is still in beta).
I tried to select it from the colour scheme menu, but, unfortunately, every time I set the syntax of a file to Turtle it comes back to use "macarom dark" colour scheme. That being said, the light colour scheme seems nice. I would happily use it if I manage to fix the erratic behaviour
@ncarboni I added a section to the README that documents how to override the default color scheme. I hope this helps!
@ncarboni I added a section to the README that documents how to override the default color scheme. I hope this helps!
Thank you! It definitively helped!
If you are a big fan of the Soda color scheme, maybe you'd be interested in submitting a PR for integrating a similar one into this package? The schemes in the package right now are actually generated using a simple starting palette of 10 colors and then shifting the shades by some amount for each scope; see here.
Thanks for the pointer, I will try to work on it!
Could you please refrain from forcing a color scheme that users cannot reset (ie one can't set it to null
to inherit the scheme used for the rest of the editor)?
@berezovskyi The whole point of this package is to provide rich syntax highlighting which requires custom color schemes. You are welcome to override the color scheme in your settings file but you might as well use one of the existing sparql or turtle packages instead if you are not interested in the features of this package anyway.
I see! Honestly, I only needed NTriples support. And let me apologise for not thanking you enough for your great work, Blake!