__init__.py 492 B

12345678910111213141516171819202122
  1. """Namespace for components provided by the @radix-ui/themes library."""
  2. from __future__ import annotations
  3. from reflex.utils import lazy_loader
  4. _SUBMODULES: set[str] = {"components", "layout", "typography"}
  5. _SUBMOD_ATTRS: dict[str, list[str]] = {
  6. "base": [
  7. "theme",
  8. "theme_panel",
  9. ],
  10. "color_mode": [
  11. "color_mode",
  12. ],
  13. }
  14. __getattr__, __dir__, __all__ = lazy_loader.attach(
  15. __name__,
  16. submodules=_SUBMODULES,
  17. submod_attrs=_SUBMOD_ATTRS,
  18. )