Sublime Forum

Can I set user customized color scheme outside the current using .tmTheme file?

#1

I see many plugins require users insert color scheme scope into the current using theme file. Otherwise, plugins like BracketHighlighter, GitGutter and others could not apply their colors properly.
Is any way here achieve the goal without pollute original theme file? Moreover, this enhancement make plugin developers add color scheme in their plugins directly without guide user manually configure the colors.

1 Like

API Suggestions
Howto: assign custom color for custom scope
#2

Do you mean programmatically, through a plugin?

Because there is an issue bugged already about this - but it is not currently possible, without altering the theme file.

1 Like

#3

A workaround that some plugins provide is the ability for users to define color scopes @ sublime-settings.

This allows users to either use an existing scope, or define a scope + color combination of their own.

 
+1 on your idea though, it would be much nicer for both users & developers if there were foreground and background parameters @ view.add_regions

1 Like