customizable font family

This commit is contained in:
Felix Roos 2023-02-22 20:28:22 +01:00
parent 8f6c1531fa
commit ff99dbcd22
11 changed files with 25 additions and 15 deletions

View file

@ -121,7 +121,7 @@ export function Repl({ embedded = false }) {
const { theme, themeSettings } = useTheme();
const {
state: { keybindings, fontSize },
state: { keybindings, fontSize, fontFamily },
} = useStore();
const { code, setCode, scheduler, evaluate, activateCode, isDirty, activeCode, pattern, started, stop, error } =
@ -283,6 +283,7 @@ export function Repl({ embedded = false }) {
value={code}
keybindings={keybindings}
fontSize={fontSize}
fontFamily={fontFamily}
onChange={handleChangeCode}
onViewChanged={setView}
onSelectionChange={handleSelectionChange}