@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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2864,7 +2864,7 @@ var StyledLegend = (0, import_styles20.styled)("legend")(({ theme }) => ({
|
|
|
2864
2864
|
fontFamily: theme.tokens.typography.fontFamilyBase,
|
|
2865
2865
|
fontSize: theme.tokens.typography.fontSizeLg,
|
|
2866
2866
|
fontWeight: theme.tokens.typography.fontWeightRegular,
|
|
2867
|
-
color: theme.tokens.colors.textPrimary,
|
|
2867
|
+
color: theme.palette.mode === "dark" ? theme.palette.common.white : theme.tokens.colors.textPrimary,
|
|
2868
2868
|
marginBottom: theme.spacing(1),
|
|
2869
2869
|
padding: 0
|
|
2870
2870
|
}));
|
|
@@ -2873,7 +2873,7 @@ var StyledToggleWrapper = (0, import_styles20.styled)("div")(({ theme }) => ({
|
|
|
2873
2873
|
flexDirection: "row",
|
|
2874
2874
|
width: theme.spacing(15),
|
|
2875
2875
|
height: theme.spacing(6),
|
|
2876
|
-
backgroundColor: theme.palette.common.white,
|
|
2876
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.paper : theme.palette.common.white,
|
|
2877
2877
|
border: `1px solid ${theme.tokens.colors.border}`,
|
|
2878
2878
|
borderRadius: theme.tokens.borderRadius.md
|
|
2879
2879
|
}));
|
|
@@ -2888,7 +2888,7 @@ var StyledSwitch = (0, import_styles20.styled)("label", {
|
|
|
2888
2888
|
fontSize: theme.tokens.typography.fontSizeMd,
|
|
2889
2889
|
fontFamily: theme.tokens.typography.fontFamilyBase,
|
|
2890
2890
|
fontWeight: theme.tokens.typography.fontWeightBold,
|
|
2891
|
-
color: theme.tokens.colors.textPrimary,
|
|
2891
|
+
color: theme.palette.mode === "dark" ? theme.palette.common.white : theme.tokens.colors.textPrimary,
|
|
2892
2892
|
borderRadius: theme.tokens.borderRadius.md,
|
|
2893
2893
|
userSelect: "none",
|
|
2894
2894
|
cursor: "pointer",
|