Skip to content
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

Feature: Generate theme from vscode theme settings #123

Open
kitesi opened this issue Jul 16, 2021 · 2 comments
Open

Feature: Generate theme from vscode theme settings #123

kitesi opened this issue Jul 16, 2021 · 2 comments

Comments

@kitesi
Copy link

kitesi commented Jul 16, 2021

With vscode, you can run a command (Developer: Generate Color Theme From Current Settings or workbench.action.generateColorTheme), and you will get a json output of all the theme settings.

Maybe this repo could add an npm script to parse that json and make a css file?

I feel like a lot of the popular themes have already been ported over though so maybe not too much value in adding this.

@RunDevelopment
Copy link
Member

PrismJS/prism#2848 is relevant here.

My initial assessment was that creating such a tool/script would be too hard to be worth it. However, with more granular token types being planned, I think it will become possible in Prism v2.0.

I feel like a lot of the popular themes have already been ported over though so maybe not too much value in adding this.

There is still much value in such a tool. Popular themes change and new beautiful themes emerge all the time. Plus manually porting themes is tedious and error-prone. Prism isn't important enough for many people to warrant this kind of effort, so having a tool doing that automatically would be a great help.

@kelvindecosta
Copy link

Hey guys, just thought I'd let you know about this awesome Gatsby plugin: https://github.com/andrewbranch/gatsby-remark-vscode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants