You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when creating a Webviews it is possible to access the current colors via e.g.:
var(--vscode-editor-foreground)
It would be helpful if it would be possible as well to get the token colors from syntax highlighting the same way, i.e. from the themes.
E.g. I would like to get the color used for comments in source code or others.
The text was updated successfully, but these errors were encountered:
Hmm, I read carefully through the duplicate but I still can't figure out how to do it in web views or if it is possible at all.
Do you have a simple example like that var(--vscode-editor-foreground) but for e.g. the 'comment' color?
Thanks for clarification.
But "at the moment" seems like a euphemism. The feature request is open since 2017 :-)
So I guess this will most likely not be implemented.
Hi,
when creating a Webviews it is possible to access the current colors via e.g.:
var(--vscode-editor-foreground)
It would be helpful if it would be possible as well to get the token colors from syntax highlighting the same way, i.e. from the themes.
E.g. I would like to get the color used for comments in source code or others.
The text was updated successfully, but these errors were encountered: