30 lines
710 B
JavaScript
Raw Normal View History

2024-01-29 09:26:07 +08:00
import { commonLight } from "../../_styles/common/index.mjs";
2024-08-02 18:19:39 +08:00
import commonVariables from "./_common.mjs";
export function self(vars) {
2024-01-29 09:26:07 +08:00
const {
textColor2,
textColor1,
errorColor,
successColor,
infoColor,
warningColor,
lineHeight,
fontWeightStrong
} = vars;
return Object.assign(Object.assign({}, commonVariables), {
lineHeight,
titleFontWeight: fontWeightStrong,
titleTextColor: textColor1,
textColor: textColor2,
iconColorError: errorColor,
iconColorSuccess: successColor,
iconColorInfo: infoColor,
iconColorWarning: warningColor
});
2024-08-02 18:19:39 +08:00
}
2024-01-29 09:26:07 +08:00
const resultLight = {
name: 'Result',
common: commonLight,
self
};
export default resultLight;