@brightlayer-ui/react-themes
Version:
React themes for Brightlayer UI applications
45 lines (44 loc) • 1.57 kB
JavaScript
;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
styleOverrides: {
label: function (_a) {
var theme = _a.theme;
return (__assign({ color: theme.vars.palette.text.primary, "&.Mui-active": {
fontWeight: 600,
color: theme.vars.palette.primary.main,
}, "&.Mui-completed": {
fontWeight: 600,
} }, theme.applyStyles("dark", {
color: theme.vars.palette.text.secondary,
"&.Mui-active": {
fontWeight: 600,
color: theme.vars.palette.primary.main,
},
"&.Mui-completed": {
color: theme.vars.palette.text.secondary,
fontWeight: 600,
},
})));
},
iconContainer: function (_a) {
var theme = _a.theme;
return (__assign({ position: "relative" }, theme.applyStyles("dark", {
position: "relative",
paddingRight: 0,
marginRight: 8,
})));
},
},
};