46 lines
1.5 KiB
JavaScript
46 lines
1.5 KiB
JavaScript
|
import commonVariables from "./_common.mjs";
|
||
|
import { commonLight } from "../../_styles/common/index.mjs";
|
||
|
export const 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;
|