@octoguide/mui-ui-toolkit 0.7.2 → 0.7.3

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/index.mjs CHANGED
@@ -529,12 +529,14 @@ function createMuiTheme(tokens, darkMode = false) {
529
529
  subtle: darkMode ? "#2a2a2a" : tokens.colors.backgroundSubtle
530
530
  },
531
531
  border: tokens.colors.border,
532
- text: darkMode ? void 0 : {
533
- primary: tokens.colors.textPrimary,
534
- secondary: tokens.colors.textSecondary,
535
- disabled: tokens.colors.textDisabled
536
- },
537
- divider: darkMode ? void 0 : tokens.colors.divider
532
+ ...darkMode ? {} : {
533
+ text: {
534
+ primary: tokens.colors.textPrimary,
535
+ secondary: tokens.colors.textSecondary,
536
+ disabled: tokens.colors.textDisabled
537
+ },
538
+ divider: tokens.colors.divider
539
+ }
538
540
  },
539
541
  typography: {
540
542
  fontFamily: tokens.typography.fontFamilyBase,