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

🐞 Dracula theme color scheme is wrong #663

Open
2 of 9 tasks
jd-solanki opened this issue Dec 28, 2024 · 3 comments
Open
2 of 9 tasks

🐞 Dracula theme color scheme is wrong #663

jd-solanki opened this issue Dec 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@jd-solanki
Copy link

Which @codeimage/* package(s) are the source of the bug?

codeimage, ui

Please provide a screenshot or a video to a minimal reproduction of the bug

No response

Description

<Button @click="config = getAvatarStyle()">
    Click Me
  </Button>

Here's my vue code in VSCode:
image

This is how it looks in codeimage:
image

Which browsers have you used?

  • Chrome
  • Firefox
  • Safari
  • Edge

Which operating systems have you used?

  • macOS
  • Windows
  • Linux
  • iOS
  • Android
@jd-solanki jd-solanki added the bug Something isn't working label Dec 28, 2024
@riccardoperra
Copy link
Owner

Don't think this can be fixed easily. vscode uses a different language grammar (textmate) with vue lsp. codemirror has his own lang with different tokens.

@jd-solanki
Copy link
Author

Have you checked shiki?

It has lots of features and everyone uses it.

@riccardoperra
Copy link
Owner

riccardoperra commented Dec 29, 2024

Switching from codemirror to shiki couldn’t be that simple. I always have used it for static code. Is it possible to use it as a wysiwyg?

Another option would be integrate it in codemirror replacing the current syntax highlighter but I think it may take a lot of time 😅 and there could be performance issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants