FichteFoll / CSScheme

Create Sublime Text or Text Mate color schemes in CSS, SCSS or stylus
MIT License
43 stars 4 forks source link

Be less restrictive about property values #2

Closed icylace closed 10 years ago

icylace commented 10 years ago

I want to be able to use bracketsOptions: foreground stippled_underline; but right now "foreground" can't be used as part of a property value.

FichteFoll commented 10 years ago

Huh, I didn't know this was supported. I was quite sure that there were only 4 values, but adding right away.

What does it do by the way?

FichteFoll commented 10 years ago

Forgot to mention the issue in the commit (and changelog), but this is now fixed.

icylace commented 10 years ago

Thanks !

I'm not sure what you mean by "only 4 values" but in case you're wondering the bracketsOptions theme key is described here along with some others. That post is about ST2 but I'm running ST3 and it works there too.

The possible values stated there are underline and foreground. I've found that a couple of additional values are possible which are stippled_underline and squiggly_underline both of which can be found in the description for the add_regions() function as sublime.DRAW_STIPPLED_UNDERLINE and sublime.DRAW_SQUIGGLY_UNDERLINE respectively.

Interestingly, solid_underline doesn't work which I suppose makes sense from a redundancy point of view.

Anyway, thanks again and CSScheme rocks !

FichteFoll commented 10 years ago

Awesome, finally something I can work with. We definitely need some centralized documentation on color schemes.