@maggioli-design-system/mds-pref-theme
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

mds-pref-theme

Properties

Property Attribute Description Type Default
mode mode Specifies the preference mode "dark" | "light" | "system" | undefined undefined
transition transition Specifies the transition of switching from a theme to another one "flash" | "none" | "smooth" 'smooth'

Events

Event Description Type
mdsPrefChange Emits when the component is triggered CustomEvent<MdsPrefChangeEventDetail>

Dependencies

Depends on

Graph

graph TD;
  mds-pref-theme --> mds-text
  mds-pref-theme --> mds-tab
  mds-pref-theme --> mds-tab-item
  mds-tab-item --> mds-button
  mds-button --> mds-spinner
  mds-button --> mds-icon
  mds-button --> mds-text
  style mds-pref-theme fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department

Readme

Keywords

none

Package Sidebar

Install

npm i @maggioli-design-system/mds-pref-theme

Weekly Downloads

38

Version

1.0.5

License

MIT

Unpacked Size

1.86 MB

Total Files

219

Last publish

Collaborators

  • moodysmiles
  • vitto