2024-01-29 09:26:07 +08:00
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
2024-08-02 18:19:39 +08:00
|
|
|
exports.self = self;
|
2024-01-29 09:26:07 +08:00
|
|
|
const styles_1 = require("../../_internal/scrollbar/styles");
|
|
|
|
const styles_2 = require("../../dialog/styles");
|
|
|
|
const styles_3 = require("../../card/styles");
|
|
|
|
const common_1 = require("../../_styles/common");
|
|
|
|
const _mixins_1 = require("../../_mixins");
|
2024-08-02 18:19:39 +08:00
|
|
|
function self(vars) {
|
2024-01-29 09:26:07 +08:00
|
|
|
const { modalColor, textColor2, boxShadow3 } = vars;
|
|
|
|
return {
|
|
|
|
color: modalColor,
|
|
|
|
textColor: textColor2,
|
|
|
|
boxShadow: boxShadow3
|
|
|
|
};
|
2024-08-02 18:19:39 +08:00
|
|
|
}
|
2024-01-29 09:26:07 +08:00
|
|
|
const modalLight = (0, _mixins_1.createTheme)({
|
|
|
|
name: 'Modal',
|
|
|
|
common: common_1.commonLight,
|
|
|
|
peers: {
|
|
|
|
Scrollbar: styles_1.scrollbarLight,
|
|
|
|
Dialog: styles_2.dialogLight,
|
|
|
|
Card: styles_3.cardLight
|
|
|
|
},
|
2024-08-02 18:19:39 +08:00
|
|
|
self
|
2024-01-29 09:26:07 +08:00
|
|
|
});
|
|
|
|
exports.default = modalLight;
|