Theme: Renames new theme model from GrafanaThemeV2 to just GrafanaTheme (#33619)

This commit is contained in:
Torkel Ödegaard
2021-05-03 09:45:54 +02:00
committed by GitHub
parent b165bfabc1
commit 7ee994f843
130 changed files with 291 additions and 288 deletions

View File

@@ -1,7 +1,7 @@
import React from 'react';
import { css } from '@emotion/css';
import { Alert, Field, Modal, useStyles2 } from '@grafana/ui';
import { GrafanaThemeV2 } from '@grafana/data';
import { GrafanaTheme2 } from '@grafana/data';
export interface Props {
onDismiss: () => void;
@@ -29,7 +29,7 @@ export function ApiKeysAddedModal({ onDismiss, apiKey, rootPath }: Props): JSX.E
);
}
function getStyles(theme: GrafanaThemeV2) {
function getStyles(theme: GrafanaTheme2) {
return {
label: css`
padding: ${theme.spacing(1)};