-
Notifications
You must be signed in to change notification settings - Fork 28.8k
New issue
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
Provide access to theme colours from extensions #67416
Labels
themes
Color theme issues
Comments
(Experimental duplicate detection) |
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 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: