-
Notifications
You must be signed in to change notification settings - Fork 10
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
Adapt theme to the official spec #11
Comments
Hello @zenorocha ! I will work on it. Not just the screenshot, you can check the old https://github.com/dracula/prism/blob/master/index.html (or the direct link https://dracula.github.io/prism/) to check the preview of each development language, using Prismjs. I will move something from this |
I followed the specific documentation, but the syntax highlighting got horrible. I imitated the HTML syntax highlighting viewed in VSCode. Syntax-highlightng the ASCII codes, declared by the class There is another disadvantage: You can test with the new file I am still working on it, to improve the CSS and JavaScript embedded in HTML, syntax-highlighted by Prismjs. |
Got it! Yeah, it's very hard to be 100% accurate, since each syntax highlighter works differently, but the closer we can get it's better. |
Hello @zenorocha I open an issue at Prismjs repository, suggesting a new enhancement of few new tokens there. If they decide not to enhance, we will leave this Prismjs' CSS the same way. |
Hello @zenorocha ! Sorry for my longer absence. I had light COVID-19 symptoms and had to stay at bed for a month. Fortunately I survived. I have just implemented the HTML syntax highlighting as the Prismjs member has merged. I am implementing the CSS syntax highlighting, but it did not get good, because some VSCode-based Dracula and Prismjs CSS syntax highlightings are different in some cases. |
Adding on to what @zenorocha said: another example (at least I think) is the So it seems like the rendered text is overly "comment" colored (whereas the spec says Variable: (Foreground)), so shouldn't that be That then looks like (Not changing anything else) (I'd also point at that the one at this prism-themes repo is not any better) Also, what's the reasoning on using the |
Hey @gusbemacbe, I was looking at the screenshot today, and I think we have to review the colors that are being applied to each symbol. You can take a look at the VSCode theme and the spec for more information.
The text was updated successfully, but these errors were encountered: