We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be great if there was a mechanism to get the current themed colours by an extension.
e.g. something along the lines of: vscode.window.getThemeColor( id: string )
vscode.window.getThemeColor( id: string )
and then having a method of ThemeColor that returns the rgb(a). That way extensions could match colours to themes.
At the moment I have to use a configuration setting...
The text was updated successfully, but these errors were encountered:
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
editor.findMatchForeground
Sorry, something went wrong.
There is one method (only it just returns reference and not rgb):
new vscode.ThemeColor('activityBar.background')
Yeh, that gets you half way, but you can only use it as input into other API calls...
duplicate of #32813
aeschli
No branches or pull requests
It would be great if there was a mechanism to get the current themed colours by an extension.
e.g. something along the lines of:
vscode.window.getThemeColor( id: string )
and then having a method of ThemeColor that returns the rgb(a). That way extensions could match colours to themes.
At the moment I have to use a configuration setting...
The text was updated successfully, but these errors were encountered: