Fix some settings, move them back to Settings page

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-04-28 22:47:49 +02:00
parent 096c005a94
commit 7ae2b4282f
13 changed files with 101 additions and 71 deletions

View File

@ -20,7 +20,7 @@ interface ISoapboxHead {
/** Injects metadata into site head with Helmet. */
const SoapboxHead: React.FC<ISoapboxHead> = ({ children }) => {
const { locale, direction } = useLocale();
const { demo, reduceMotion, underlineLinks, demetricator } = useSettings();
const { demo, reduceMotion, underlineLinks, demetricator, systemFont } = useSettings();
const soapboxConfig = useSoapboxConfig();
const theme = useTheme();
@ -31,6 +31,7 @@ const SoapboxHead: React.FC<ISoapboxHead> = ({ children }) => {
'no-reduce-motion': !reduceMotion,
'underline-links': underlineLinks,
'demetricator': demetricator,
'system-font': systemFont,
});
useEffect(() => {