@udixio/theme 1.0.0-beta.24 → 1.0.0-beta.25

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.
@@ -1877,7 +1877,7 @@ function createSubTheme(_ref) {
1877
1877
  var theme = {
1878
1878
  name: isDarkTheme ? name + 'Dark' : name,
1879
1879
  selectors: isDarkTheme && darkMode === 'class' ? ['.dark-mode .theme-' + name, '.dark-mode.theme-' + name, '[data-theme="dark"] .theme-' + name, '[data-theme="dark"].theme-' + name] : ['.theme-' + name],
1880
- mediaQuery: '@media (prefers-color-scheme: dark)',
1880
+ mediaQuery: isDarkTheme && darkMode === 'media' ? '@media (prefers-color-scheme: dark)' : undefined,
1881
1881
  extend: {
1882
1882
  colors: colors
1883
1883
  }