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

@@ -15,7 +15,7 @@ import {
DataFrame,
DataTransformerConfig,
DocsId,
GrafanaThemeV2,
GrafanaTheme2,
PanelData,
SelectableValue,
standardTransformersRegistry,
@@ -368,7 +368,7 @@ const TransformationCard: React.FC<CardProps> = (props) => {
return <Card {...props} className={styles.card} />;
};
const getStyles = (theme: GrafanaThemeV2) => {
const getStyles = (theme: GrafanaTheme2) => {
return {
card: css`
background: ${theme.colors.background.secondary};