2024-01-29 09:26:07 +08:00
|
|
|
import { commonLight } from "../../_styles/common/index.mjs";
|
2024-08-02 18:19:39 +08:00
|
|
|
function self(vars) {
|
2024-01-29 09:26:07 +08:00
|
|
|
const {
|
|
|
|
errorColor,
|
|
|
|
infoColor,
|
|
|
|
successColor,
|
|
|
|
warningColor,
|
|
|
|
fontFamily
|
|
|
|
} = vars;
|
|
|
|
return {
|
|
|
|
color: errorColor,
|
|
|
|
colorInfo: infoColor,
|
|
|
|
colorSuccess: successColor,
|
|
|
|
colorError: errorColor,
|
|
|
|
colorWarning: warningColor,
|
|
|
|
fontSize: '12px',
|
|
|
|
fontFamily
|
|
|
|
};
|
2024-08-02 18:19:39 +08:00
|
|
|
}
|
2024-01-29 09:26:07 +08:00
|
|
|
const badgeLight = {
|
|
|
|
name: 'Badge',
|
|
|
|
common: commonLight,
|
|
|
|
self
|
|
|
|
};
|
|
|
|
export default badgeLight;
|