cssinjs / jss

JSS is an authoring tool for CSS which uses JavaScript as a host language.
https://cssinjs.org
MIT License
7.06k stars 397 forks source link

Function values are not called inside jss-expand block #715

Closed petrkrulis closed 6 years ago

petrkrulis commented 6 years ago

See example https://codesandbox.io/s/53n8rrlw7x. Size property has no effect. Generated css looks like this font-size: function size(props) { return "120px"; }; There is a same problem when I try to use jss-expand inside a function value. https://codesandbox.io/s/k3n3o98wr3

kof commented 6 years ago

tbc in https://github.com/cssinjs/jss/issues/682