@udixio/theme 1.0.0-beta.27 → 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.
- package/dist/theme.cjs.development.js +1 -1
- package/dist/theme.cjs.development.js.map +1 -1
- package/dist/theme.cjs.production.min.js +1 -1
- package/dist/theme.cjs.production.min.js.map +1 -1
- package/dist/theme.esm.js +1 -1
- package/dist/theme.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/plugins/tailwind/plugins-tailwind/themer.ts +9 -1
|
@@ -1929,7 +1929,7 @@ function createSubTheme(_ref) {
|
|
|
1929
1929
|
colors = _ref.colors;
|
|
1930
1930
|
var theme = {
|
|
1931
1931
|
name: isDarkTheme ? name + 'Dark' : 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],
|
|
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],
|
|
1933
1933
|
mediaQuery: isDarkTheme && darkMode === 'media' ? '@media (prefers-color-scheme: dark)' : undefined,
|
|
1934
1934
|
extend: {
|
|
1935
1935
|
colors: colors
|