elm-styled
elm-styled copied to clipboard
injectGlobal
Scoped CSS is awesome but some things need to be inserted globally. A injectGlobal function similar to styled-components one would be great. The problem is that this is a side effect so it should be a Cmd. Does someone know how to handle this as a library author? I would like to get rid of the Native part of this package as well but I don't know what's the best way to handle these side effects in Elm.