@yoshuawuyts, my apologies. Is there an example of how to use a variable with sheetify? I thought css`:host {width:${someWidth}}` would work
No, sorry - it's all compile time only, and referencing variables requires partial execution. Use CSS vars if you really need variables!
-
-
Thx for quick response! :) Ah. Ok. Coolio. Would it be poor form to set styles inline? e.g html`<div style="width:${someWidth}">`
-
No, not at all! :D Choo uses the DOM exactly so you can use properties like these as intended

- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.