refactor: Replace white & black colors with theme aware ones
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
committed by
Carlos Lopez
parent
f14f82c563
commit
cee0cd96cc
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user