@grafana/ui
Version:
Grafana Components Library
31 lines (26 loc) • 816 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var react = require('@emotion/react');
;
function getAlertingStyles(theme) {
return react.css({
".alert-state-paused, .alert-state-pending": {
color: theme.colors.text.secondary,
fontWeight: theme.typography.fontWeightMedium
},
".alert-state-ok": {
color: theme.colors.success.text,
fontWeight: theme.typography.fontWeightMedium
},
".alert-state-warning": {
color: theme.colors.warning.text,
fontWeight: theme.typography.fontWeightMedium
},
".alert-state-critical": {
color: theme.colors.error.text,
fontWeight: theme.typography.fontWeightMedium
}
});
}
exports.getAlertingStyles = getAlertingStyles;
//# sourceMappingURL=alerting.cjs.map