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,7 +15,7 @@
*/
import React, { useRef, useLayoutEffect } from 'react';
import { makeStyles, Theme } from '@material-ui/core';
import { makeStyles } from '@material-ui/core';
export type Props = {
visible: boolean;
@@ -24,7 +24,7 @@ export type Props = {
y: number;
};
const useStyles = makeStyles<Theme>(theme => ({
const useStyles = makeStyles(theme => ({
bubble: {
pointerEvents: 'none',
userSelect: 'none',
@@ -15,7 +15,7 @@
*/
import React from 'react';
import { makeStyles, Theme } from '@material-ui/core';
import { makeStyles } from '@material-ui/core';
import { WithLink } from '../../utils/components';
import { RadarDescription } from '../RadarDescription';
import type { EntrySnapshot } from '../../utils/types';
@@ -37,7 +37,7 @@ export type Props = {
onClick?: (event: React.MouseEvent<SVGGElement, MouseEvent>) => void;
};
const useStyles = makeStyles<Theme>(theme => ({
const useStyles = makeStyles(theme => ({
text: {
pointerEvents: 'none',
userSelect: 'none',
@@ -15,7 +15,7 @@
*/
import React from 'react';
import { makeStyles, Theme } from '@material-ui/core';
import { makeStyles } from '@material-ui/core';
import type { Ring } from '../../utils/types';
export type Props = {
@@ -23,7 +23,7 @@ export type Props = {
rings: Ring[];
};
const useStyles = makeStyles<Theme>(
const useStyles = makeStyles(
theme => ({
ring: {
fill: 'none',
@@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { makeStyles, Theme } from '@material-ui/core';
import { makeStyles } from '@material-ui/core';
import React from 'react';
import { RadarLegendQuadrant } from './RadarLegendQuadrant';
import { RadarLegendProps } from './types';
import { setupSegments } from './utils';
const useStyles = makeStyles<Theme>(theme => ({
const useStyles = makeStyles(theme => ({
quadrant: {
height: '100%',
width: '100%',