Add support for changing font family and font size

This commit is contained in:
Jonatan Heyman
2024-01-08 21:16:56 +01:00
parent fb62652847
commit a56a267e06
7 changed files with 108 additions and 26 deletions

View File

@ -34,6 +34,8 @@ const schema = {
"showInDock": {type: "boolean", default: true},
"showInMenu": {type: "boolean", default: false},
"bracketClosing": {type: "boolean", default: false},
"fontFamily": {type: "string"},
"fontSize": {type: "integer"},
},
},
@ -62,6 +64,8 @@ const defaults = {
showInDock: true,
showInMenu: false,
bracketClosing: false,
fontFamily: null, // we use null for the default font family and size, since we could then change
fontSize: null, // the default font family and size in the future and have it apply to existing users
},
theme: "system",
}