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 common_1 = require("../../_styles/common");
|
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 { textColor2, primaryColor, textColorDisabled, closeIconColor, closeIconColorHover, closeIconColorPressed, closeColorHover, closeColorPressed, tabColor, baseColor, dividerColor, fontWeight, textColor1, borderRadius, fontSize, fontWeightStrong } = vars;
|
|
|
|
return Object.assign(Object.assign({}, _common_1.default), { colorSegment: tabColor, tabFontSizeCard: fontSize, tabTextColorLine: textColor1, tabTextColorActiveLine: primaryColor, tabTextColorHoverLine: primaryColor, tabTextColorDisabledLine: textColorDisabled, tabTextColorSegment: textColor1, tabTextColorActiveSegment: textColor2, tabTextColorHoverSegment: textColor2, tabTextColorDisabledSegment: textColorDisabled, tabTextColorBar: textColor1, tabTextColorActiveBar: primaryColor, tabTextColorHoverBar: primaryColor, tabTextColorDisabledBar: textColorDisabled, tabTextColorCard: textColor1, tabTextColorHoverCard: textColor1, tabTextColorActiveCard: primaryColor, tabTextColorDisabledCard: textColorDisabled, barColor: primaryColor, closeIconColor,
|
|
|
|
closeIconColorHover,
|
|
|
|
closeIconColorPressed,
|
|
|
|
closeColorHover,
|
|
|
|
closeColorPressed, closeBorderRadius: borderRadius, tabColor, tabColorSegment: baseColor, tabBorderColor: dividerColor, tabFontWeightActive: fontWeight, tabFontWeight: fontWeight, tabBorderRadius: borderRadius, paneTextColor: textColor2, fontWeightStrong });
|
2024-08-02 18:19:39 +08:00
|
|
|
}
|
2024-01-29 09:26:07 +08:00
|
|
|
const tabsLight = {
|
|
|
|
name: 'Tabs',
|
|
|
|
common: common_1.commonLight,
|
2024-08-02 18:19:39 +08:00
|
|
|
self
|
2024-01-29 09:26:07 +08:00
|
|
|
};
|
|
|
|
exports.default = tabsLight;
|