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

Support for calc function. #35

Closed
TadeasKriz opened this issue Aug 2, 2015 · 1 comment
Closed

Support for calc function. #35

TadeasKriz opened this issue Aug 2, 2015 · 1 comment

Comments

@TadeasKriz
Copy link

It would be nice if we could do some calculations in the stylesheet. For example I have a constant called @gridStep and I would like to do something like cornerRadius: calc(@gridStep * 2);. Currently I could not find a way to do this in ISS. Is it possible? Or would that feature be possible to add? Thanks.

@tolo
Copy link
Owner

tolo commented Aug 3, 2015

Yes, that would be nice, and I have actually though a bit about this in the past (for instance when implementing ISSLayout). It shouldn't be too hard to add I think, so I will definitely look into doing that for the next feature release.

@tolo tolo closed this as completed in a62b5f9 Aug 25, 2015
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