-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix webview theme styles #6155
Fix webview theme styles #6155
Conversation
@azatsarynnyy that's cool! I just cannot grasp what PR does. It uses and unuses exactly the same styles in core and by doing it somehow fix the issue in the plugin system? It sounds as a very implicit dependency and also unnecessary for switching color themes. |
@akosyakov In the plugin system we display plugin webview in the iframe. And we need provide styles to this iframe. |
I just provide Theia styles and variables into webview iframes(add materialcolors). |
@olexii4 probably it should be a comment in the code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code wise it looks now
@vinokurig @azatsarynnyy it would be good if you can double check with recent changes
@olexii4 commits have to be cleaned up and signed off: https://github.com/theia-ide/theia/blob/master/doc/pull-requests.md#checklist-sign-off
Signed-off-by: Oleksii Orel <oorel@redhat.com>
@akosyakov I have done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with Github plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checked with the latest changes - works as expected
FYI: the build is broken on the
Is it related? |
@olexii4 could you please take care of the broken master build? |
@AlexTugarev Ok. I will fix PR |
Can we enforce that PRs can not be merged if the CI (Travis and AppVeyor) are failing?
Opened the issue #6167 |
What it does
Add material colors into webviews.
What issues does this PR fix or reference?
#4179
How to test
Try to use this 'asciidoctor-vscode' extension
https://marketplace.visualstudio.com/items?itemName=joaompinto.asciidoctor-vscode.
Check all themes.