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

46 lines
1.5 KiB
JavaScript

import { commonLight } from "../../_styles/common/index.mjs";
import commonVariables from "./_common.mjs";
export function self(vars) {
const {
fontWeightStrong,
baseColor,
textColorDisabled,
primaryColor,
errorColor,
textColor1,
textColor2
} = vars;
return Object.assign(Object.assign({}, commonVariables), {
stepHeaderFontWeight: fontWeightStrong,
indicatorTextColorProcess: baseColor,
indicatorTextColorWait: textColorDisabled,
indicatorTextColorFinish: primaryColor,
indicatorTextColorError: errorColor,
indicatorBorderColorProcess: primaryColor,
indicatorBorderColorWait: textColorDisabled,
indicatorBorderColorFinish: primaryColor,
indicatorBorderColorError: errorColor,
indicatorColorProcess: primaryColor,
indicatorColorWait: '#0000',
indicatorColorFinish: '#0000',
indicatorColorError: '#0000',
splitorColorProcess: textColorDisabled,
splitorColorWait: textColorDisabled,
splitorColorFinish: primaryColor,
splitorColorError: textColorDisabled,
headerTextColorProcess: textColor1,
headerTextColorWait: textColorDisabled,
headerTextColorFinish: textColorDisabled,
headerTextColorError: errorColor,
descriptionTextColorProcess: textColor2,
descriptionTextColorWait: textColorDisabled,
descriptionTextColorFinish: textColorDisabled,
descriptionTextColorError: errorColor
});
}
const stepsLight = {
name: 'Steps',
common: commonLight,
self
};
export default stepsLight;