syntax
syntax copied to clipboard
Updated syntax theme?
I would love an updated version of this syntax theme to match the new theme found on the API website and in Framer Playground!
Side-by-side for example:
After seeing the new Framer Playground, I really hoped that Framer Syntax is getting that cool color scheme as well!
@jornvandijk Apologies if you're not the appropriate person to ask about this, but I'd be happy taking a stab at adding a dark and light update that matches the playground theme. I'm happy holding off, if that's something you're already actively pursing.
Some initial progress, should have more before this week's up:
and is it going to work with .tsx files as well?
@matepapp, yep absolutely. I’m using the existing tsx examples to verify.
Alright, I'm going to back off for now as it seems to mostly be working. If others would like try it out I think these steps will get you there (Note, you may need to uninstall your existing Framer syntax plugin, not sure):
- Install:
vsce(npm i -g vsce/yarn global add vsce) - Clone changes from fork:
git clone [email protected]:balanceiskey/syntax.git - Run
vsce packageinside the cloned fork which will produce avsixfile - In VSCode, from the command palette (
cmd-shift-p) you can hunt forvsixwhich will give you give youInstall from VSIXas an option. Pick it and navigate to the vsix file that was generated.
Should be all set. Note, I'm happy to accept PRs and tweaks to my fork if you find things missing (which they absolutely are as both the original syntax file and this one are geared very heavily toward JS/TS). That said, if there's a desire to bring this into the mainline repo here, I'm more than happy to post as a PR to start making changes.
Check out #11, this falls in line with my thought around this issue.

Feelin' good in the daylight:

And if you’re looking for the vim version: https://github.com/balanceiskey/vim-framer-syntax