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 _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 { baseColor, inputColorDisabled, cardColor, modalColor, popoverColor, textColorDisabled, borderColor, primaryColor, textColor2, fontSizeSmall, fontSizeMedium, fontSizeLarge, borderRadiusSmall, lineHeight } = vars;
|
|
|
|
return Object.assign(Object.assign({}, _common_1.default), { labelLineHeight: lineHeight, fontSizeSmall,
|
|
|
|
fontSizeMedium,
|
|
|
|
fontSizeLarge, borderRadius: borderRadiusSmall, color: baseColor, colorChecked: primaryColor, colorDisabled: inputColorDisabled, colorDisabledChecked: inputColorDisabled, colorTableHeader: cardColor, colorTableHeaderModal: modalColor, colorTableHeaderPopover: popoverColor, checkMarkColor: baseColor, checkMarkColorDisabled: textColorDisabled, checkMarkColorDisabledChecked: textColorDisabled, border: `1px solid ${borderColor}`, borderDisabled: `1px solid ${borderColor}`, borderDisabledChecked: `1px solid ${borderColor}`, borderChecked: `1px solid ${primaryColor}`, borderFocus: `1px solid ${primaryColor}`, boxShadowFocus: `0 0 0 2px ${(0, seemly_1.changeColor)(primaryColor, { alpha: 0.3 })}`, textColor: textColor2, textColorDisabled });
|
2024-08-02 18:19:39 +08:00
|
|
|
}
|
2024-01-29 09:26:07 +08:00
|
|
|
const checkboxLight = {
|
|
|
|
name: 'Checkbox',
|
|
|
|
common: common_1.commonLight,
|
2024-08-02 18:19:39 +08:00
|
|
|
self
|
2024-01-29 09:26:07 +08:00
|
|
|
};
|
|
|
|
exports.default = checkboxLight;
|