mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* convert some emotion styles to object syntax * convert more styles to object syntax * fix placeholder content
11 lines
288 B
TypeScript
11 lines
288 B
TypeScript
import { css } from '@emotion/css';
|
|
|
|
import { GrafanaTheme2 } from '@grafana/data';
|
|
|
|
export const getBadgeColor = (theme: GrafanaTheme2) =>
|
|
css({
|
|
background: theme.colors.background.primary,
|
|
borderColor: theme.colors.border.strong,
|
|
color: theme.colors.text.secondary,
|
|
});
|