3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
grafana/public/app/features/plugins/admin/components/Badges/sharedStyles.ts
Ashley Harrison 94bbc081c8
Chore: Finish converting emotion styles to object syntax ()
* convert some emotion styles to object syntax

* convert more styles to object syntax

* fix placeholder content
2024-10-25 14:50:28 +01:00

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,
});