@udixio/theme 1.0.0-beta.26 → 1.0.0-beta.28

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.
@@ -1649,6 +1649,7 @@ var PluginAbstract = /*#__PURE__*/function () {
1649
1649
  var _proto = PluginAbstract.prototype;
1650
1650
  _proto.init = function init(appService) {
1651
1651
  this.pluginInstance = new this.pluginClass(appService, this.options);
1652
+ this.pluginInstance.onInit();
1652
1653
  return this;
1653
1654
  };
1654
1655
  _proto.getInstance = function getInstance() {
@@ -1928,7 +1929,7 @@ function createSubTheme(_ref) {
1928
1929
  colors = _ref.colors;
1929
1930
  var theme = {
1930
1931
  name: isDarkTheme ? name + 'Dark' : name,
1931
- selectors: isDarkTheme && darkMode === 'class' ? ['.dark-mode .theme-' + name, '.dark-mode.theme-' + name, '[data-theme="dark"] .theme-' + name, '[data-theme="dark"].theme-' + name] : ['.theme-' + name],
1932
+ selectors: isDarkTheme && darkMode === 'class' ? ['.dark-mode .theme-' + name, '.dark-mode.theme-' + name, '[data-theme="dark"] .theme-' + name, '[data-theme="dark"].theme-' + name] : ['.theme-' + name, ".theme-" + name + " .light-mode", ".theme-" + name + " [data-theme=\"light\"]", ".light-mode .theme-" + name, ".light-mode.theme-" + name, "[data-theme=\"light\"] .theme-" + name, "[data-theme=\"light\"].theme-" + name],
1932
1933
  mediaQuery: isDarkTheme && darkMode === 'media' ? '@media (prefers-color-scheme: dark)' : undefined,
1933
1934
  extend: {
1934
1935
  colors: colors