2024-08-02 18:19:39 +08:00

37 lines
1.2 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.self = self;
const common_1 = require("../../_styles/common");
function self(vars) {
const { infoColor, successColor, warningColor, errorColor, textColor2, progressRailColor, fontSize, fontWeight } = vars;
return {
fontSize,
fontSizeCircle: '28px',
fontWeightCircle: fontWeight,
railColor: progressRailColor,
railHeight: '8px',
iconSizeCircle: '36px',
iconSizeLine: '18px',
iconColor: infoColor,
iconColorInfo: infoColor,
iconColorSuccess: successColor,
iconColorWarning: warningColor,
iconColorError: errorColor,
textColorCircle: textColor2,
textColorLineInner: 'rgb(255, 255, 255)',
textColorLineOuter: textColor2,
fillColor: infoColor,
fillColorInfo: infoColor,
fillColorSuccess: successColor,
fillColorWarning: warningColor,
fillColorError: errorColor,
lineBgProcessing: 'linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)'
};
}
const progressLight = {
name: 'Progress',
common: common_1.commonLight,
self
};
exports.default = progressLight;