diff --git a/rsconcept/frontend/src/components/RSInput/RSInput.tsx b/rsconcept/frontend/src/components/RSInput/RSInput.tsx index b0d47e61..2c39bcb4 100644 --- a/rsconcept/frontend/src/components/RSInput/RSInput.tsx +++ b/rsconcept/frontend/src/components/RSInput/RSInput.tsx @@ -11,6 +11,7 @@ import { forwardRef, useCallback, useMemo, useRef } from 'react'; import Label from '@/components/ui/Label'; import { useRSForm } from '@/context/RSFormContext'; import { useConceptTheme } from '@/context/ThemeContext'; +import { getFontClassName } from '@/models/miscellaneousAPI'; import { generateAlias, getCstTypePrefix, guessCstType } from '@/models/rsformAPI'; import { extractGlobals } from '@/models/rslangAPI'; @@ -48,7 +49,7 @@ const RSInput = forwardRef( }, ref ) => { - const { darkMode, colors } = useConceptTheme(); + const { darkMode, colors, mathFont } = useConceptTheme(); const { schema } = useRSForm(); const internalRef = useRef(null); @@ -136,7 +137,7 @@ const RSInput = forwardRef(