style: json tree view

This commit is contained in:
Cody Bender 2024-08-08 23:44:45 -04:00
parent bff6749a91
commit 4afadb9502
3 changed files with 13 additions and 1 deletions

View File

@ -57,7 +57,7 @@ const AppBar = ({ config }) => {
return (
<>
<MuiAppBar position="fixed" elevation={0}>
<MuiAppBar position="fixed" elevation={0} color="primary">
<Toolbar>
<Link classes={{ root: classes.logoLink }} href="/">
<div className={classes.logo}>

View File

@ -14,9 +14,18 @@ const useStyles = makeStyles(() => ({
flex: 1,
},
}));
const useTreeStyles = makeStyles(
(theme) => ({
colorPrimary: {
color: theme.palette.secondary.main,
},
}),
{ name: "MuiTypography" },
);
const Json = ({ data }) => {
const classes = useStyles();
useTreeStyles();
return (
<JsonTreeView

View File

@ -63,6 +63,9 @@ export const createTheme = (theme) =>
primary: {
main: "#0000F4",
},
secondary: {
main: "#A2A2FF",
},
background: {
default: "#18181A",
secondary: "#18181A",