grafana/public/app/features/playlist/styles.ts
Torkel Ödegaard 10badea19e
Emotion: Upgrades emotion from 10 to 11 and updates all import paths (#32541)
* Babel: Updates babel dependencies to latest version

* Emotion: Upgrade form 10 to 11

* Fixing tests

* Updated to use emotion/css instead in test
2021-04-01 14:15:23 +02:00

17 lines
356 B
TypeScript

import { GrafanaTheme } from '@grafana/data';
import { css } from '@emotion/css';
export function getPlaylistStyles(theme: GrafanaTheme) {
return {
description: css`
label: description;
width: 555px;
margin-bottom: 20px;
`,
subHeading: css`
label: sub-heading;
margin-bottom: ${theme.spacing.md};
`,
};
}