allow overriding theme fonts

This commit is contained in:
zadam
2021-09-27 21:01:56 +02:00
parent d5bd9875f9
commit e6bc8ed3b5
13 changed files with 259 additions and 96 deletions

View File

@@ -17,8 +17,13 @@ const ALLOWED_OPTIONS = new Set([
'syncProxy',
'hoistedNoteId',
'mainFontSize',
'mainFontFamily',
'treeFontSize',
'treeFontFamily',
'detailFontSize',
'detailFontFamily',
'monospaceFontSize',
'monospaceFontFamily',
'openTabs',
'noteInfoWidget',
'attributesWidget',
@@ -44,7 +49,8 @@ const ALLOWED_OPTIONS = new Set([
'headingStyle',
'autoCollapseNoteTree',
'autoReadonlySizeText',
'autoReadonlySizeCode'
'autoReadonlySizeCode',
'overrideThemeFonts'
]);
function getOptions() {