diff --git a/src/ScriptEditor/ui/ThemeEditorModal.tsx b/src/ScriptEditor/ui/ThemeEditorModal.tsx index bf979359d..327731414 100644 --- a/src/ScriptEditor/ui/ThemeEditorModal.tsx +++ b/src/ScriptEditor/ui/ThemeEditorModal.tsx @@ -7,6 +7,7 @@ import Button from "@mui/material/Button"; import Box from "@mui/material/Box"; import Tooltip from "@mui/material/Tooltip"; import TextField from "@mui/material/TextField"; +import Paper from "@mui/material/Paper"; import IconButton from "@mui/material/IconButton"; import ReplyIcon from "@mui/icons-material/Reply"; import HistoryIcon from '@mui/icons-material/History'; @@ -104,168 +105,172 @@ export function ThemeEditorModal(props: IProps): React.ReactElement { }}> Customize Editor theme Hover over input boxes for more information - { - setThemeCopy(_.set(themeCopy, "base", val ? "vs" : "vs-dark")); - rerender(); - }} - text="Use light theme as base" - tooltip={ - <> - If enabled, the vs light theme will be used as the - theme base, otherwise, vs-dark will be used. - - } - /> - - - UI - - - - - - - - - - Syntax - - - - - - - - - - - - - - - - - + text="Use light theme as base" + tooltip={ + <> + If enabled, the vs light theme will be used as the + theme base, otherwise, vs-dark will be used. + + } + /> + + + UI + + + + + + + + + + Syntax + + + + + + + + + + + + + + + + + + + + ) } \ No newline at end of file