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 common_1 = require("../../_styles/common");
|
|
|
|
const use_theme_1 = require("../../_mixins/use-theme");
|
|
|
|
const styles_1 = require("../../tree/styles");
|
|
|
|
const styles_2 = require("../../empty/styles");
|
|
|
|
const styles_3 = require("../../_internal/selection/styles");
|
2024-08-02 18:19:39 +08:00
|
|
|
function self(vars) {
|
2024-01-29 09:26:07 +08:00
|
|
|
const { popoverColor, boxShadow2, borderRadius, heightMedium, dividerColor, textColor2 } = vars;
|
|
|
|
return {
|
|
|
|
menuPadding: '4px',
|
|
|
|
menuColor: popoverColor,
|
|
|
|
menuBoxShadow: boxShadow2,
|
|
|
|
menuBorderRadius: borderRadius,
|
|
|
|
menuHeight: `calc(${heightMedium} * 7.6)`,
|
|
|
|
actionDividerColor: dividerColor,
|
|
|
|
actionTextColor: textColor2,
|
|
|
|
actionPadding: '8px 12px'
|
|
|
|
};
|
2024-08-02 18:19:39 +08:00
|
|
|
}
|
2024-01-29 09:26:07 +08:00
|
|
|
const treeSelectLight = (0, use_theme_1.createTheme)({
|
|
|
|
name: 'TreeSelect',
|
|
|
|
common: common_1.commonLight,
|
|
|
|
peers: {
|
|
|
|
Tree: styles_1.treeLight,
|
|
|
|
Empty: styles_2.emptyLight,
|
|
|
|
InternalSelection: styles_3.internalSelectionLight
|
|
|
|
},
|
2024-08-02 18:19:39 +08:00
|
|
|
self
|
2024-01-29 09:26:07 +08:00
|
|
|
});
|
|
|
|
exports.default = treeSelectLight;
|