UNPKG

@brightlayer-ui/react-themes

Version:
58 lines (57 loc) 2.21 kB
"use strict"; 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); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var colors_1 = require("@brightlayer-ui/colors"); var color_1 = __importDefault(require("color")); var WhiteText = colors_1.BLUIColors.white[50]; exports.default = { styleOverrides: { root: function (_a) { var theme = _a.theme; return (__assign({ color: colors_1.BLUIColors.white[500], zIndex: 1, "&.Mui-active": { color: theme.vars.palette.primary.dark, "& .MuiStepIcon-text": { fill: WhiteText, fontWeight: 600, }, } }, theme.applyStyles("dark", { color: (0, color_1.default)(colors_1.BLUIColors.black[300]).alpha(0.36).string(), zIndex: 1, "&.Mui-active": { color: theme.vars.palette.primary.dark, "& .MuiStepIcon-text": { fill: WhiteText, fontWeight: 600, }, }, "&.Mui-completed": { color: theme.vars.palette.primary.dark, "& .MuiStepIcon-text": { fill: WhiteText, fontWeight: 600, }, }, }))); }, text: function (_a) { var theme = _a.theme; return (__assign({ fill: theme.vars.palette.text.primary }, theme.applyStyles("dark", { color: theme.vars.palette.text.primary, fill: colors_1.BLUIColors.black[300], }))); }, }, };