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

Add option to use an arbitrary JSON URL #35

Open
joshdcomp opened this issue Oct 11, 2021 · 3 comments
Open

Add option to use an arbitrary JSON URL #35

joshdcomp opened this issue Oct 11, 2021 · 3 comments

Comments

@joshdcomp
Copy link

joshdcomp commented Oct 11, 2021

Themer has proven to be super useful, thanks for building it!

As we scale up our design system however, we're starting to feel some growing pains with how Themer sources JSON:

  • JSONBin requires an account with another service like Github or Twitter—this puts a lot of pressure on whoever's account we're tying to for maintenance (or if they land their dream job and leave our team!)
  • JSONBin, or any UI-based service (like Gists proposed in Use gist.github.com instead of jsonbin.io? #26), introduces a manual maintenance step that has potential to be quite brittle…we're really counting on the maintainer's copy/paste abilities 😅

Proposed solution

I'd love the ability to set an arbitrary URL, in this case pointing to a JSON file hosted on our CDN. We build and deploy our design tokens via our CI pipeline, so if we could point to an asset on our CDN, we wouldn't need to update the theme after each release

@nachtfunke
Copy link

Did you find a solution or alternative to this? I am exploring a similar problem.

@joshdcomp
Copy link
Author

@nachtfunke we're looking into alternatives now, no luck yet…we may end up rolling our own if we can't find something else

@joshdcomp
Copy link
Author

@nachtfunke I wanted to close the loop here: we're probably gonna migrate to the Figma Tokens plugin, it supports URL endpoints, and also allows for read/write in-Figma (if your stack supports it).

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