Provides a theme to its descendant components through Lit context.
Use it to scope a theme to a part of the page. The library components in the provider use its theme instead of the global theme.
- Slots
-
default— The content that receives the provided theme.
Properties
Section titled "Properties"theme
Section titled "theme"The theme to provide to descendant components.
theme: "material" | "bootstrap" | "indigo" | "fluent" variant
Section titled "variant"The theme variant to provide to descendant components.
variant: "light" | "dark"