@octoguide/mui-ui-toolkit 0.7.3 → 0.7.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/dist/index.mjs CHANGED
@@ -2804,7 +2804,7 @@ var StyledLegend = styled18("legend")(({ theme }) => ({
2804
2804
  fontFamily: theme.tokens.typography.fontFamilyBase,
2805
2805
  fontSize: theme.tokens.typography.fontSizeLg,
2806
2806
  fontWeight: theme.tokens.typography.fontWeightRegular,
2807
- color: theme.tokens.colors.textPrimary,
2807
+ color: theme.palette.mode === "dark" ? theme.palette.common.white : theme.tokens.colors.textPrimary,
2808
2808
  marginBottom: theme.spacing(1),
2809
2809
  padding: 0
2810
2810
  }));
@@ -2813,7 +2813,7 @@ var StyledToggleWrapper = styled18("div")(({ theme }) => ({
2813
2813
  flexDirection: "row",
2814
2814
  width: theme.spacing(15),
2815
2815
  height: theme.spacing(6),
2816
- backgroundColor: theme.palette.common.white,
2816
+ backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.paper : theme.palette.common.white,
2817
2817
  border: `1px solid ${theme.tokens.colors.border}`,
2818
2818
  borderRadius: theme.tokens.borderRadius.md
2819
2819
  }));
@@ -2828,7 +2828,7 @@ var StyledSwitch = styled18("label", {
2828
2828
  fontSize: theme.tokens.typography.fontSizeMd,
2829
2829
  fontFamily: theme.tokens.typography.fontFamilyBase,
2830
2830
  fontWeight: theme.tokens.typography.fontWeightBold,
2831
- color: theme.tokens.colors.textPrimary,
2831
+ color: theme.palette.mode === "dark" ? theme.palette.common.white : theme.tokens.colors.textPrimary,
2832
2832
  borderRadius: theme.tokens.borderRadius.md,
2833
2833
  userSelect: "none",
2834
2834
  cursor: "pointer",