Kronuz / ColorHighlight

🎨 Lightweight Color Highlight colorizer for Sublime Text
MIT License
117 stars 12 forks source link

breaks on `MarkDownEditor-Dark` color scheme, maybe others. #30

Open nerdCopter opened 6 months ago

nerdCopter commented 6 months ago

image

works on Monakai at least. image

hrasekj commented 5 months ago

I can confirm, this happend to me on Monokai - Pro as well.

hrasekj commented 5 months ago

I have found workaround for this. The issue is, when theme is read from sublime-archive, then this plugin does not create its own copy of sublime-color-scheme file. So i manually copied the sublime-color-scheme into ~/.config/sublime-text-3/Packages/Color Scheme - Default/. Then the plugin was able to change this file and highlight the colors again.

All installed packages can be found in folder ~/.config/sublime-text-3/Installed Packages/.

JasonRaveling commented 2 weeks ago

The same is happening for me with Solarized. I am experiencing this on Windows 10. @hrasekj's suggestion to copy the color scheme seems to be a good work around. Although, I have to run 'Color Highlight: Reset' from the command pallette to get colors to highlight correctly after the color value has been changed. For example, if I change #ff0000 (red) changed to #00ff00 (green), the color stays red until I reset Color Highlight.

nerdCopter commented 2 weeks ago
JasonRaveling commented 2 weeks ago

Thanks, @nerdCopter. I was just about to start looking. I just noticed Color Highlight has not been updated since 2018.