@brightlayer-ui/react-themes
Version:
React themes for Brightlayer UI applications
44 lines (43 loc) • 1.47 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: {
root: function (_a) {
var theme = _a.theme;
return (__assign({ backgroundColor: theme.vars.palette.background.paper }, theme.applyStyles("dark", {
backgroundColor: theme.vars.palette.background.paper,
})));
},
groupedHorizontal: function (_a) {
var theme = _a.theme;
return (__assign({ "&:not(:first-child)": {
marginLeft: 0,
} }, theme.applyStyles("dark", {
"&:not(:first-child)": {
marginLeft: 0,
},
})));
},
groupedVertical: function (_a) {
var theme = _a.theme;
return (__assign({ "&:not(:first-child)": {
marginTop: 0,
} }, theme.applyStyles("dark", {
"&:not(:first-child)": {
marginTop: 0,
},
})));
},
},
};