Renders content with the current skin
Creates context for providing skin
You want to probbably use WithSkin Use always and only for wrapping content in ReactDOM.render(<styleSystem.WithSkinContext>...</styleSystem.WithSkinContext>)
Promise which is resolved when the system is initialized and ready to use.
Is this object destroyed?
Checks if the system is initialized and ready to use.
Binds new registration with itself. This registration/destroyable will be destroyed with this.
Checks if the system is initialized and ready to use. If not, throws an error. If it is, do nothing.
Checks, whether the object is not destroyed
Message that will replace default one before error
Callback runed before error is thrown; typically this can be some logging
TODO: Enable object-like styles + styled components in future TODO: Create scoped version of this
Chcek whether the given object is destroyable
StyleSystem can register and manage additional CSS styles for modules. It can scope CSS so it will do not affect others.
Note: UserInterfaceSystem is for JSX (HTML) vs. StyleSystem is for CSS styles