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

Access package.json from within templates #36

Open
tobiasandersen opened this issue Apr 18, 2020 · 1 comment
Open

Access package.json from within templates #36

tobiasandersen opened this issue Apr 18, 2020 · 1 comment
Projects

Comments

@tobiasandersen
Copy link
Contributor

This was a request from @axelboberg, but I can't remember why you wanted it. Can you elaborate a bit on why it would be useful? :)

@tobiasandersen tobiasandersen added this to Maybe in Version 2 Apr 18, 2020
@axelboberg
Copy link

Sure thing!

As a step to make working with responsive templates and different aspect ratios easier it would be good to have access to at least the caspar-graphics object from package.json since that's where the resolution is set.

However, this should probably be discussed together with if and how v2 will handle different resolutions and aspect ratios as well as the use of vw and vh.

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

No branches or pull requests

2 participants