feat: add system-ui font selection to desktop app (#1109)
Signed-off-by: Aaron Ruan <aaron212cn@outlook.com>
This commit is contained in:
parent
8532257f5c
commit
841126cfac
|
|
@ -29,7 +29,10 @@ const useFontDataElectron = () => {
|
|||
queryKey: ["systemFonts"],
|
||||
})
|
||||
|
||||
return [{ label: FALLBACK_FONT, value: "inherit" }].concat(
|
||||
return [
|
||||
{ label: FALLBACK_FONT, value: "inherit" },
|
||||
{ label: "System UI", value: "system-ui" },
|
||||
].concat(
|
||||
(data || []).map((font) => ({
|
||||
label: font,
|
||||
value: font,
|
||||
|
|
|
|||
Loading…
Reference in New Issue