stitchesjs / stitches

[Not Actively Maintained] CSS-in-JS with near-zero runtime, SSR, multi-variant support, and a best-in-class developer experience.

Home Page:https://stitches.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inject theme vars (css properties) on-demand

hackwaly opened this issue · comments

Currently theme vars are injected eagerly into :root element. Actually some vars are defined but never used.

commented

I think this could potentially be slower than injecting them before hand and might make the code more branched but keeping this issue open for the future.