@coveord/plasma-mantine
Version:
A Plasma flavoured Mantine theme
44 lines (43 loc) • 946 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "NotificationVars", {
enumerable: true,
get: function() {
return NotificationVars;
}
});
var NotificationVars = function(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