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

DSL for calc() #132

Open
tyrcho opened this issue Jan 14, 2018 · 2 comments
Open

DSL for calc() #132

tyrcho opened this issue Jan 14, 2018 · 2 comments

Comments

@tyrcho
Copy link

tyrcho commented Jan 14, 2018

How can I generate such style ? Again, I did not find any reference in the doc for the "calc" keyword.

font-size: calc(16px + 2vmin);
@japgolly
Copy link
Owner

calc isn't supported via the DSL yet. For now you have to use the unsafe syntax:

fontSize :=! "calc(16px + 2vmin)"

@japgolly japgolly changed the title How to generate calculated font-size ? DSL for calc function Jan 15, 2018
@japgolly japgolly changed the title DSL for calc function DSL for calc() Jan 15, 2018
@tyrcho
Copy link
Author

tyrcho commented Jan 21, 2018

Thanks, that does the job for the moment.

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

No branches or pull requests

2 participants