@grafana/ui
Version:
Grafana Components Library
27 lines (24 loc) • 713 B
JavaScript
import { css } from '@emotion/react';
;
function getAlertingStyles(theme) {
return 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
}
});
}
export { getAlertingStyles };
//# sourceMappingURL=alerting.mjs.map