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
Webviews can also access VS Code theme colors using CSS variables. These variable names are prefixed with vscode and replace the . with -. For example editor.foreground becomes var(--vscode-editor-foreground):
There is an issue when using some "Theia CSS" variables in a plug-in's web-view
Let say we use in our own CSS (css of the web-view)
--theia-accent-color0
, this variable won't be resolved.It's because definition of variable is using
and all these material design colors (like https://github.com/theia-ide/theia/blob/248775060d2e4815306ac025b18f67364ff5d62a/packages/core/src/browser/style/materialcolors.css) are not included in the webview iframe
The text was updated successfully, but these errors were encountered: