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,5 +1,5 @@
import React, { FC, useMemo } from 'react';
import { GrafanaThemeV2 } from '@grafana/data';
import { GrafanaTheme2 } from '@grafana/data';
import { PageToolbar, Button, useStyles2, CustomScrollbar, Spinner, Alert } from '@grafana/ui';
import { css } from '@emotion/css';
@@ -128,7 +128,7 @@ export const AlertRuleForm: FC<Props> = ({ existing }) => {
);
};
const getStyles = (theme: GrafanaThemeV2) => {
const getStyles = (theme: GrafanaTheme2) => {
return {
buttonSpinner: css`
margin-right: ${theme.spacing(1)};