UNPKG

@brightlayer-ui/react-themes

Version:
36 lines (35 loc) 1.4 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); }; Object.defineProperty(exports, "__esModule", { value: true }); var colors_1 = require("@brightlayer-ui/colors"); exports.default = { styleOverrides: { root: function (_a) { var theme = _a.theme; return (__assign({ backgroundColor: colors_1.BLUIColors.black[900], color: colors_1.BLUIColors.black[50], "& .MuiButton-textPrimary": { color: colors_1.BLUIColors.blue[200], }, "& .MuiButton-textSecondary": { color: colors_1.BLUIColors.lightBlue[200], } }, theme.applyStyles("dark", { color: colors_1.BLUIColors.black[500], backgroundColor: colors_1.BLUIColors.black[50], "& .MuiButton-textPrimary": { color: theme.vars.palette.primary.dark, }, "& .MuiButton-textSecondary": { color: colors_1.BLUIColors.lightBlue[500], }, }))); }, }, };