saleor/macaw-ui

Allow SSR with MacawUI

krzysztofzuraw opened this issue · 0 comments

We currently have a naive way of rendering MacawUI - we apply CSS variables on the client. As a proper solution, we should apply them in SSR as well.

Relevant code

setElementVars(document.documentElement, vars, themes[theme]);