28 lines
899 B
JavaScript
Raw Normal View History

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 seemly_1 = require("seemly");
2024-08-02 18:19:39 +08:00
const common_1 = require("../../_styles/common");
function self(vars) {
2024-01-29 09:26:07 +08:00
const { borderRadius, avatarColor, cardColor, fontSize, heightTiny, heightSmall, heightMedium, heightLarge, heightHuge, modalColor, popoverColor } = vars;
return {
borderRadius,
fontSize,
border: `2px solid ${cardColor}`,
heightTiny,
heightSmall,
heightMedium,
heightLarge,
heightHuge,
color: (0, seemly_1.composite)(cardColor, avatarColor),
colorModal: (0, seemly_1.composite)(modalColor, avatarColor),
colorPopover: (0, seemly_1.composite)(popoverColor, avatarColor)
};
2024-08-02 18:19:39 +08:00
}
2024-01-29 09:26:07 +08:00
const avatarLight = {
name: 'Avatar',
common: common_1.commonLight,
2024-08-02 18:19:39 +08:00
self
2024-01-29 09:26:07 +08:00
};
exports.default = avatarLight;