UNPKG

@grafana/ui

Version:
31 lines (26 loc) 816 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var react = require('@emotion/react'); "use strict"; 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