-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Separate Editor Theme from Syntax Highlighting #670
Comments
jaywcjlove
added a commit
that referenced
this issue
Jul 4, 2024
@BrianHung Upgrade |
Thanks for the fast PR! 😊 |
Sorry to bother you. Could you share some code on how to reuse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to reuse the github themes with the lezer/highlight API
highlightTree
. However, right now all the theme packages bundle the EditorView.theme together with the HighlightStyle.define so I can't use the styles independently.As precedence, it is what https://github.com/codemirror/theme-one-dark/blob/main/src/one-dark.ts does.
Would love if for the github theme and possibly other themes as well if
The text was updated successfully, but these errors were encountered: