Dynamic decoration styling


#1

Right now, split-diff uses LESS variables (@syntax-color-added and @syntax-color-removed) from the user’s syntax theme to color the added/removed line highlights accordingly. I’d like for the user to be able to use a color picker in the settings to override the colors.

Is there any easy way to programmatically set the color of a decoration? Thanks!


#2

In case anyone comes across this later, I ended up using the github package’s method of doing this.