mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
* Babel: Updates babel dependencies to latest version * Emotion: Upgrade form 10 to 11 * Fixing tests * Updated to use emotion/css instead in test
17 lines
356 B
TypeScript
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};
|
|
`,
|
|
};
|
|
}
|