fix text color of tech-radar footer (#3245)

This commit is contained in:
Oliver Sand
2020-11-05 13:05:05 +01:00
committed by GitHub
parent 8683b1af38
commit 3f05616bf5
2 changed files with 8 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-radar': patch
---
Make the footer color of the tech-radar work in both light and dark theme.
@@ -15,19 +15,19 @@
*/
import React from 'react';
import { makeStyles, Theme } from '@material-ui/core';
import { makeStyles } from '@material-ui/core';
export type Props = {
x: number;
y: number;
};
const useStyles = makeStyles<Theme>(() => ({
const useStyles = makeStyles(theme => ({
text: {
pointerEvents: 'none',
userSelect: 'none',
fontSize: '10px',
fill: '#000',
fill: theme.palette.text.secondary,
},
}));