bsegraves / custom-folds

Atom plugin for defining custom markers for foldable regions.
MIT License
24 stars 9 forks source link

changing colors of foldable region pairs & its interpolated zone texts #41

Open getufkka opened 6 years ago

getufkka commented 6 years ago

I want to change colors of foldable region pairs. What I mean is assigning different colors to first, second and third foldable region pairs each. How can I do this? I inspected this very usuful package source code, where I found all region pairs are colorized as @text-color-info. I can't figure out how to modify this part of code.

Plus I'm wondering if I could put some color on the text area between foldable region pair. Can I tweak this wonderful package like that? Any help will be appreciated.

Elemantario commented 5 years ago

I know this is a bit late, but I recently started using custom-folds, and I figured out the way to change color so here you go, In styles\custom-folds.less, Replace all "@text-color-info" with: "@syntax-color-removed" - for Red color "@syntax-color-renamed" - for Blue color "@syntax-color-added" - for Green color "@syntax-color-modified" - for Orange color "@background-color-error" - for Darker Red color #c00 "@background-color-warning" - for Yellow color #ffaa2c "@background-color-success" - for Green color #17ca65 "@background-color-selected" - for Blue #4182C4 "@app-background-color" - for Dark Grey #333