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
@@ -17,20 +17,20 @@ import React from 'react';
import { makeStyles, TextField } from '@material-ui/core';
import { Context } from '../ContextProvider';
const useStyles = makeStyles({
const useStyles = makeStyles(theme => ({
root: {
display: 'flex',
gap: '1em',
flexWrap: 'wrap',
},
label: {
color: '#fff !important',
color: `${theme.palette.common.white} !important`,
},
outline: {
color: '#fff !important',
borderColor: '#fff !important',
color: `${theme.palette.common.white} !important`,
borderColor: `${theme.palette.common.white} !important`,
},
});
}));
export const ApiBar = () => {
const classes = useStyles();