Theme: Renames theme.palette to theme.colors (#33214)

* Theme: Rename theme.palette to theme.colors

* renaming files
This commit is contained in:
Torkel Ödegaard
2021-04-21 15:34:08 +02:00
committed by GitHub
parent c37a3bebb7
commit b929822d72
64 changed files with 391 additions and 400 deletions

View File

@@ -368,7 +368,7 @@ const TransformationCard: React.FC<CardProps> = (props) => {
const getStyles = (theme: GrafanaThemeV2) => {
return {
card: css`
background: ${theme.palette.background.secondary};
background: ${theme.colors.background.secondary};
width: 100%;
border: none;
padding: ${theme.spacing(1)};
@@ -379,7 +379,7 @@ const getStyles = (theme: GrafanaThemeV2) => {
}
&:hover {
background: ${theme.palette.action.hover};
background: ${theme.colors.action.hover};
box-shadow: none;
border: none;
}