corneliusio / svelte-sublime

💡Sublime Text syntax highlighting for Svelte components
MIT License
58 stars 6 forks source link

How to style "if, else, var, const..." with special characters, as in the "hello-world-3.png screenshot #27

Closed H34Dlezman closed 2 years ago

H34Dlezman commented 2 years ago

Hey there first thanks for the Svelte Syntax highlighting! 😄 I really like the way the if, const.. etc. are displayed in your editor in that screenshot "hello-world-3.png".

Can you briefly say how that can be done?

Cheers!

corneliusio commented 2 years ago

@H34Dlezman Hey, thanks! Just to be clear, are you asking about theme/colors specifically? Or are you not seeing any syntax highlighting at all in your Svelte files?

H34Dlezman commented 2 years ago

Hey @corneliusio, exactly, I mean the theme used in the screenshot, displaying the "if, else etc." in that cool font. The svelte syntaxing works perfectly fine.

Thanks!

corneliusio commented 2 years ago

@H34Dlezman Cool cool. The font is Operator Mono, it's a premium font but if you want to spring for it you can find it here.

If you're wanting the color scheme as well, it's one I put together myself (though I think it's really similar to another color scheme that was really popular for a while). This theme is for Sublime Text, but if you need it for VSCode I'd wager there are some tools out there for converting it to a VSCode theme. Canister.sublime-color-scheme.zip

H34Dlezman commented 2 years ago

thanks a lot @corneliusio! awesome font ✌🏽

corneliusio commented 2 years ago

No problem!