remove even more BackstageTheme usages

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-11-20 15:52:05 +01:00
parent dd3517df31
commit 1d7c989db2
100 changed files with 206 additions and 253 deletions
@@ -19,7 +19,7 @@ import { useWorkflowRuns, WorkflowRun } from '../useWorkflowRuns';
import { WorkflowRunsTable } from '../WorkflowRunsTable';
import { useEntity } from '@backstage/plugin-catalog-react';
import { WorkflowRunStatus } from '../WorkflowRunStatus';
import { Theme, makeStyles, LinearProgress } from '@material-ui/core';
import { makeStyles, LinearProgress } from '@material-ui/core';
import ExternalLinkIcon from '@material-ui/icons/Launch';
import { CLOUDBUILD_ANNOTATION } from '../useProjectName';
@@ -31,7 +31,7 @@ import {
} from '@backstage/core-components';
import { errorApiRef, useApi } from '@backstage/core-plugin-api';
const useStyles = makeStyles<Theme>({
const useStyles = makeStyles({
externalLinkIcon: {
fontSize: 'inherit',
verticalAlign: 'bottom',
@@ -25,7 +25,6 @@ import {
TableCell,
TableContainer,
TableRow,
Theme,
Typography,
} from '@material-ui/core';
import ExternalLinkIcon from '@material-ui/icons/Launch';
@@ -36,7 +35,7 @@ import { WorkflowRunStatus } from '../WorkflowRunStatus';
import { useWorkflowRunsDetails } from './useWorkflowRunsDetails';
import { Breadcrumbs, Link, WarningPanel } from '@backstage/core-components';
const useStyles = makeStyles<Theme>(theme => ({
const useStyles = makeStyles(theme => ({
root: {
maxWidth: 720,
margin: theme.spacing(2),