-
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
Compatibility third party themes #8536
Comments
I found the following error. The theme uses css colors by name sometimes (afaik) instead of hexcodes. Could theia support them as well?
|
FYI: @amiramw @vince-fugnitto @Leon0402 > #8964 |
Thanks for your comment @vince-fugnitto, before this PR, color names where replaced with 'undefined' if color name was less than 6 chars. if it were 6 chars or more, it would be truncated to 6 chars and eventually would error out in Now, with this PR, color names are truncated to 6 chars and if they are not conforming with above regexp than they would also be replaced with 'undefined' - and thus preventing exception in getId function. |
@danarad05 do you understand why we do the truncation to 6 characters? By |
@vince-fugnitto On VS Code's side - |
No problem, just wanted to know if you understand why it was done this way. I believe the extra 2 characters (to 8) is to control the
When creating a color theme, I do see warnings about using color strings, but |
You are correct - |
@vince-fugnitto @Leon0402 #8964 awaiting review |
The pull-request #8964 does not successfully address the issue, the following is still broken: #8890
Steps to reproduce:
The bug makes the application almost unusable. |
Opened PR #9097 as it originates from different issue than #8536 |
Closed thanks to #9097. |
Bug Description:
It seems like there is a change in theia, causing some themes to break? The editor is not colored correctly as you can see from the screenshots:
As you can see it will use for editor whatever theme has been selected before.
Steps to Reproduce:
I also checked that the version of the theme is the same as in VsCode (2.2.2), so I assume it's not a bug in the theme itself.
I tried it with another theme (Material) and couldn't reproduce it though, might be trying it out with a couple more themes.
Additional Information
The text was updated successfully, but these errors were encountered: