26 lines
1.7 KiB
JavaScript
Raw Permalink 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 seemly_1 = require("seemly");
const common_1 = require("../../_styles/common");
const _mixins_1 = require("../../_mixins");
const styles_1 = require("../../button/styles");
2024-08-02 18:19:39 +08:00
const _common_1 = __importDefault(require("./_common"));
function self(vars) {
2024-01-29 09:26:07 +08:00
const { borderRadius, fontSize, lineHeight, textColor2, textColor1, textColorDisabled, dividerColor, fontWeightStrong, primaryColor, baseColor, hoverColor, cardColor, modalColor, popoverColor } = vars;
return Object.assign(Object.assign({}, _common_1.default), { borderRadius, borderColor: (0, seemly_1.composite)(cardColor, dividerColor), borderColorModal: (0, seemly_1.composite)(modalColor, dividerColor), borderColorPopover: (0, seemly_1.composite)(popoverColor, dividerColor), textColor: textColor2, titleFontWeight: fontWeightStrong, titleTextColor: textColor1, dayTextColor: textColorDisabled, fontSize,
lineHeight, dateColorCurrent: primaryColor, dateTextColorCurrent: baseColor, cellColorHover: (0, seemly_1.composite)(cardColor, hoverColor), cellColorHoverModal: (0, seemly_1.composite)(modalColor, hoverColor), cellColorHoverPopover: (0, seemly_1.composite)(popoverColor, hoverColor), cellColor: cardColor, cellColorModal: modalColor, cellColorPopover: popoverColor, barColor: primaryColor });
2024-08-02 18:19:39 +08:00
}
2024-01-29 09:26:07 +08:00
const calendarLight = (0, _mixins_1.createTheme)({
name: 'Calendar',
common: common_1.commonLight,
peers: {
Button: styles_1.buttonLight
},
2024-08-02 18:19:39 +08:00
self
2024-01-29 09:26:07 +08:00
});
exports.default = calendarLight;