Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

return() #12

Open
corysimmons opened this issue Mar 27, 2017 · 0 comments
Open

return() #12

corysimmons opened this issue Mar 27, 2017 · 0 comments

Comments

@corysimmons
Copy link
Owner

It'd be nice to explicitly return these anywhere -- especially where Grid Layout Spec is concerned.

grid-template-columns:
  return(sizes(ratio(1.618, 1) ratio(1.618, 2)) pluck(1))
  return(sizes(ratio(1.618, 1) ratio(1.618, 2)) pluck(2))
;

return() might be too vague and clash with preprocessors.

get() maybe?

grid-template-columns:
  get(sizes(ratio(1.618, 1) ratio(1.618, 2)) pluck(1))
  get(sizes(ratio(1.618, 1) ratio(1.618, 2)) pluck(2))
;
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant