wavebeem / codehost

Code formatter for cohost
https://codehost.wavebeem.com/
MIT License
14 stars 4 forks source link

dracula theme #12

Closed comforttiger closed 9 months ago

netlify[bot] commented 9 months ago

Deploy Preview for codehost-wavebeem ready!

Name Link
Latest commit 36f29db26b838e394b76d49c00856be43fb773f7
Latest deploy log https://app.netlify.com/sites/codehost-wavebeem/deploys/65739d28ef7d4f00089e7ee7
Deploy Preview https://deploy-preview-12--codehost-wavebeem.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

wavebeem commented 9 months ago

I'm not sure how easy it is to target the same tokens as VSCode since this uses a completely different syntax highlighting library, but I wanted to post a comparison since I noticed a few differences:

Dracula Official for VSCode

image

Dracula from this PR

image

comforttiger commented 9 months ago

i don't think that this theme will be able to match 100% up to what it looks like in vscode, but i can try to see if i can do something about some of the differences

wavebeem commented 9 months ago

Yeah, no worries at all about it not looking 100% identical. That's one of the reasons I haven't tried to add any 3rd party themes. Just leave a comment when you'd like me to look at this again!

comforttiger commented 9 months ago

i think this is the closest i can get with the tokens prismjs has

wavebeem commented 9 months ago

I'm going to merge this into another branch and see if I can make some tweaks to the code that actually applies the theme rules. I'm noticing some bugs right now and I'd like to fix them before getting this in.