piersdeseilligny / betterfountain

A screenwriting app integrated into visual studio code
https://marketplace.visualstudio.com/items?itemName=piersdeseilligny.betterfountain
MIT License
358 stars 55 forks source link

Q: How to change syntax colors ? #210

Closed X-Raym closed 8 months ago

X-Raym commented 9 months ago

Hi,

I come from another fountain system (Atom based) which had slightly different color

Changing the whole VS code theme is a bit much as it will impatc other language I use and all UI elements,

just need to change color of character lines and name, things like that

How can I do it ?

Thx !

piersdeseilligny commented 8 months ago

Hi @X-Raym !

So in order to only change the colours of fountain elements, you can customise any theme in your settings.json file, targeted specifically to fountain syntax, using the following guide: https://dev.to/psudo-dev/how-to-customize-or-make-your-own-vscode-color-theme-49j1

If you inspect a fountain document using the "Developer: Inspect Editor Tokens and Scopes"

It should all be fairly straightforward - Hopefully this helps!

All the best, Piers

X-Raym commented 8 months ago

Thanks you for the assistance ! Cheers, and thx again for this extension ! 🙏

Le 18 févr. 2024, 16:14, à 16:14, Piers Deseilligny @.***> a écrit:

Hi @X-Raym !

So in order to only change the colours of fountain elements, you can customise any theme in your settings.json file, targeted specifically to fountain syntax, using the following guide: https://dev.to/psudo-dev/how-to-customize-or-make-your-own-vscode-color-theme-49j1

If you inspect a fountain document using the "Developer: Inspect Editor Tokens and Scopes"

It should all be fairly straightforward - Hopefully this helps!

All the best, Piers

-- Reply to this email directly or view it on GitHub: https://github.com/piersdeseilligny/betterfountain/issues/210#issuecomment-1951354801 You are receiving this because you were mentioned.

Message ID: @.***>