fun-theme-container

Utility component that wraps the content in a span with a class containing the current theme (light or dark). Will change the class if the classes on the <html> element change.

note Not using shadow dom.

Examples

Specifications

Events

NameDescription
funThemeChangeOccurs when the theme is changed.

Slots

NameDescription
defaultcontent

Dependencies

Used by

This documentation page generated from the source at fun-theme-container.tsx

Search Gunnel

Powered byAlgolia