Minor changes
This commit is contained in:
parent
ca868c9e12
commit
c7fdfa15cb
1 changed files with 13 additions and 0 deletions
|
@ -516,6 +516,19 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = (
|
||||||
setValue={setBasicTextColor}
|
setValue={setBasicTextColor}
|
||||||
cssVariable=""
|
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}
|
||||||
|
/>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue