wave-ui 3.0.2 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wave-ui",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "An emerging UI framework for Vue.js (2 & 3) with only the bright side. :sunny:",
5
5
  "author": "Antoni Andre <antoniandre.web@gmail.com>",
6
6
  "homepage": "https://antoniandre.github.io/wave-ui",
@@ -105,7 +105,7 @@ export default class WaveUI {
105
105
 
106
106
  let themeColors = config.colors[config.theme]
107
107
  if (config.theme === 'auto') detectOSDarkMode($waveui) // Also switches the theme.
108
- else switchTheme(config.theme, true)
108
+ else $waveui.switchTheme(config.theme, true)
109
109
 
110
110
  injectCSSInDOM($waveui)
111
111
  injectNotifManagerInDOM(wApp, components, $waveui)