26 lines
915 B
JavaScript
Raw Normal View History

2024-01-29 09:26:07 +08:00
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
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("../../button/styles");
const styles_2 = require("../../popover/styles");
const _mixins_1 = require("../../_mixins");
const common_1 = require("../../_styles/common");
const _common_1 = __importDefault(require("./_common"));
2024-08-02 18:19:39 +08:00
function self(vars) {
2024-01-29 09:26:07 +08:00
const { fontSize, warningColor } = vars;
return Object.assign(Object.assign({}, _common_1.default), { fontSize, iconColor: warningColor });
2024-08-02 18:19:39 +08:00
}
2024-01-29 09:26:07 +08:00
const popconfirmLight = (0, _mixins_1.createTheme)({
name: 'Popconfirm',
common: common_1.commonLight,
peers: {
Button: styles_1.buttonLight,
Popover: styles_2.popoverLight
},
2024-08-02 18:19:39 +08:00
self
2024-01-29 09:26:07 +08:00
});
exports.default = popconfirmLight;