How to call Themes in markup

Hi ,

When trying to build a new lib I encountered question. how are themes used. Say I wrote a theme in a haxeui library how do I call/use it in markup in a project that uses the library ? An example lib(the css file is in _module/dark/main.css) :

So you should be able to do:

Toolkit.theme = "dark"

Ive taken a look at your module.xml and all looks like its wired up correctly!

At some point im going to reword the themes a little for some extra features, but setting the theme on the Toolkit will always work