Skip to content
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

Test: Theme colors in webviews #50489

Closed
3 tasks done
mjbvz opened this issue May 25, 2018 · 0 comments
Closed
3 tasks done

Test: Theme colors in webviews #50489

mjbvz opened this issue May 25, 2018 · 0 comments

Comments

@mjbvz
Copy link
Collaborator

mjbvz commented May 25, 2018

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 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
@mjbvz mjbvz added this to the May 2018 milestone May 25, 2018
@alexdima alexdima removed their assignment May 29, 2018
@miguelsolorio miguelsolorio removed their assignment May 29, 2018
@dbaeumer dbaeumer removed their assignment May 29, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants