Instead of the default shim mode, twind can be used in library mode.
This mode may be useful for component libraries that do not want to expose the twind API to their users. Instead a own twind instance is created and used to generate the styles.
It is then recommended to use the
tw instance to generate the styles. It is only advised to use
observe if used within a Shadow DOM. Otherwise different twind instances may interfere with each other.
TODO: example using a shared stylesheet for several custom element instances