mirror of
https://github.com/heyman/heynote.git
synced 2025-08-15 17:22:36 +02:00
Add support for changing font family and font size
This commit is contained in:
@ -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",
|
||||
}
|
||||
|
Reference in New Issue
Block a user