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
Name | Description |
---|---|
funThemeChange | Occurs when the theme is changed. |
Slots
Name | Description |
---|---|
default | content |
Dependencies
Used by
- fun-accordion
- fun-backdrop
- fun-badge
- fun-button
- fun-chip
- fun-dropdown-menu
- fun-dropdown-menu-divider
- fun-dropdown-menu-item
- fun-field-icon
- fun-field-label
- fun-field-unit
- fun-hero-modal
- fun-illustration-connect
- fun-illustration-data-share
- fun-illustration-downloading-data
- fun-illustration-empty
- fun-illustration-no-data
- fun-illustration-not-found
- fun-illustration-success
- fun-modal
- fun-modal-controller
- fun-popover
- fun-source-label
- fun-toggle
- fun-tooltip
- fun-user
- fun-wizard-step
This documentation page generated from the source at fun-theme-container.tsx