refactor: Replace white & black colors with theme aware ones

Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
Carlos Esteban Lopez
2023-02-19 13:27:08 -05:00
committed by Carlos Lopez
parent f14f82c563
commit cee0cd96cc
36 changed files with 169 additions and 129 deletions
@@ -24,7 +24,7 @@ export type Props = {
y: number;
};
const useStyles = makeStyles<Theme>(() => ({
const useStyles = makeStyles<Theme>(theme => ({
bubble: {
pointerEvents: 'none',
userSelect: 'none',
@@ -42,7 +42,7 @@ const useStyles = makeStyles<Theme>(() => ({
pointerEvents: 'none',
userSelect: 'none',
fontSize: '10px',
fill: '#fff',
fill: theme.palette.common.white,
},
}));
@@ -33,12 +33,12 @@ export type Props = {
onClick?: (event: React.MouseEvent<SVGGElement, MouseEvent>) => void;
};
const useStyles = makeStyles<Theme>(() => ({
const useStyles = makeStyles<Theme>(theme => ({
text: {
pointerEvents: 'none',
userSelect: 'none',
fontSize: '9px',
fill: '#fff',
fill: theme.palette.common.white,
textAnchor: 'middle',
},
@@ -73,7 +73,7 @@ const useStyles = makeStyles<Theme>(theme => ({
userSelect: 'none',
fontSize: '11px',
background: '#6f6f6f',
color: '#FFF',
color: theme.palette.common.white,
},
entryLink: {
pointerEvents: 'visiblePainted',