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
@@ -15,12 +15,7 @@
*/
import { useEntity } from '@backstage/plugin-catalog-react';
import {
LinearProgress,
makeStyles,
Theme,
Typography,
} from '@material-ui/core';
import { LinearProgress, makeStyles, Typography } from '@material-ui/core';
import ExternalLinkIcon from '@material-ui/icons/Launch';
import React, { useEffect } from 'react';
import { GITHUB_ACTIONS_ANNOTATION } from '../getProjectNameFromEntity';
@@ -36,7 +31,7 @@ import {
} from '@backstage/core-components';
import { getHostnameFromEntity } from '../getHostnameFromEntity';
const useStyles = makeStyles<Theme>({
const useStyles = makeStyles({
externalLinkIcon: {
fontSize: 'inherit',
verticalAlign: 'bottom',
@@ -23,7 +23,6 @@ import {
Fade,
makeStyles,
Modal,
Theme,
Tooltip,
Typography,
Zoom,
@@ -35,7 +34,7 @@ import { getProjectNameFromEntity } from '../getProjectNameFromEntity';
import { useDownloadWorkflowRunLogs } from './useDownloadWorkflowRunLogs';
import { getHostnameFromEntity } from '../getHostnameFromEntity';
const useStyles = makeStyles<Theme>(theme => ({
const useStyles = makeStyles(theme => ({
button: {
order: -1,
marginRight: 0,