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

Expose raw theme colors? #35

Open
jlewin opened this issue Nov 5, 2024 · 2 comments
Open

Expose raw theme colors? #35

jlewin opened this issue Nov 5, 2024 · 2 comments

Comments

@jlewin
Copy link

jlewin commented Nov 5, 2024

I'd really appreciate being able to hit a theme url, and pull down the color values for the theme. Any reason you wouldn't want to expose this data for use? Currently I can hit the homepage, browse to a theme I like and see its effect, but my only options are to export to vsix and vscode. If I could simply add ".json" to the theme url, and get at the underlying theme values, I could use these in creative ways, similar to if I take the time to extract them from vscode or the vxis.

https://tinte.railly.dev/t/rec_cskhdctqrj660d2fe5lg.json
or
https://tinte.railly.dev/t/json/rec_cskhdctqrj660d2fe5lg

Thought or concerns?

@Railly
Copy link
Owner

Railly commented Nov 5, 2024

Yeah, it should be either copyable or exposed in some way. I just created a ticket to look into this. Thanks!

@jlewin
Copy link
Author

jlewin commented Nov 6, 2024

Great to hear. I ended up writing a parser for vsix files, which fits my immediate needs, but I'd still prefer to use the simplified color values from the themes.

Any chance this would be a good community contribution task? I could tackle it if you have guidance on how you'd like it implemented. Otherwise, I'll just keep an eye out for a future update.

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

2 participants