SublimeText / PackageDev

Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
MIT License
436 stars 83 forks source link

Make Edit Theme & Scheme dark-/light-aware #329

Closed FichteFoll closed 3 years ago

FichteFoll commented 3 years ago

https://github.com/sublimehq/sublime_text/issues/3884#issuecomment-769752092

@FichteFoll You'll want to check out the new sublime.ui_info() API. Docs to come, but it returns a dict of info about the system style, and resolved theme and color scheme, along with the color palette from the color scheme.

I'll probably keep the quick panel prompt but set the selected index to the active one and add an "active" text either in the item itself or the annotation.