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
Summary
Webviews can now access 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)
Test
Ensure that you can use these variables in a webview (you can use the cat coding example for this)
Check that you can:
Access all theme colors as css variables
That the variable values are updated properly when the theme changes
The text was updated successfully, but these errors were encountered:
Test for #41785
Complexity: 1
Summary
Webviews can now access theme colors using css variables. These variable names are prefixed with
vscode
and replace the.
with-
. For exampleeditor.foreground
becomesvar(--vscode-editor-foreground)
Test
Ensure that you can use these variables in a webview (you can use the cat coding example for this)
Check that you can:
The text was updated successfully, but these errors were encountered: