I am creating a language extension for vscode to describe a language where some of the syntactic elements refer to specific colors. I would like to color those elements in those colors, regardless of what theme is being used, and without having to require the user to select my specific custom theme instead of their own preference for everything else. Is there any way to do this within the existing language and theme definition system?
My fallback solution would be something like https://github.com/KamiKillertO/vscode-colorize/ which runs outside the syntax system to dynamically evaluate the code and then apply decorators to it, but this is very much overkill for my needs where I could define the text to highlight with simple match patterns.