Submit
Path:
~
/
/
usr
/
share
/
grafana
/
public
/
app
/
features
/
alerting
/
unified
/
styles
/
File Content:
notifications.ts
import { css } from '@emotion/css'; import { GrafanaTheme2 } from '@grafana/data'; import { AlertState } from 'app/plugins/datasource/alertmanager/types'; export const getNotificationsTextColors = (theme: GrafanaTheme2) => ({ [AlertState.Active]: css` color: ${theme.colors.error.text}; `, [AlertState.Suppressed]: css` color: ${theme.colors.primary.text}; `, [AlertState.Unprocessed]: css` color: ${theme.colors.secondary.text}; `, });
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
notifications.ts
463 bytes
0644
pagination.ts
279 bytes
0644
table.ts
816 bytes
0644
N4ST4R_ID | Naxtarrr