@coveord/plasma-mantine
Version:
A Plasma flavoured Mantine theme
34 lines (33 loc) • 727 B
JavaScript
export const NotificationVars = (theme, props)=>{
if (props.color === 'success') {
return {
root: {},
icon: {
color: theme.colors.success[6]
}
};
}
if (props.color === 'warning') {
return {
root: {},
icon: {
color: theme.colors.warning[6]
}
};
}
if (props.color === 'critical') {
return {
root: {},
icon: {
color: theme.colors.critical[6]
}
};
}
return {
root: {},
icon: {
color: theme.colors.info[6]
}
};
};
//# sourceMappingURL=Notification.vars.js.map