Minor changes

This commit is contained in:
sageTheDM 2024-10-04 18:21:57 +02:00
parent ca868c9e12
commit c7fdfa15cb

View file

@ -516,6 +516,19 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = (
setValue={setBasicTextColor}
cssVariable=""
/>
<FontSizeSetting
fontSize={fontSize}
setFontSize={setFontSize}
/>
<DropdownSetting
label="Font Family"
value={fontFamily}
setValue={(newFont) => {
setFontFamily(newFont);
document.documentElement.style.setProperty('--font-family', newFont);
}}
options={fontOptions}
/>
</>
)}