-
+
+ {this.renderTextSetting(
+ 'Interface Font',
+ 'fontInterface',
+ 'Comma-separated list of fonts. If left empty, takes system defaults.',
+ {
+ placeholder: '-- System Default --',
+ onChange: this._handleFontChange,
+ },
+ )}
+ {this.renderNumberSetting('Interface Font Size (px)', 'fontSize', '', {
+ min: MIN_INTERFACE_FONT_SIZE,
+ max: MAX_INTERFACE_FONT_SIZE,
+ onBlur: this._handleFontChange,
+ })}
- {this.renderNumberSetting('Interface Font Size (px)', 'fontSize', '', {
- min: MIN_INTERFACE_FONT_SIZE,
- max: MAX_INTERFACE_FONT_SIZE,
- onBlur: this._handleFontChange,
- })}
-
-
-
+ {this.renderTextSetting(
+ 'Text Editor Font',
+ 'fontMonospace',
+ 'Comma-separated list of monospace fonts. If left empty, takes system defaults.',
+ {
+ placeholder: '-- System Default --',
+ onChange: this._handleFontChange,
+ },
+ )}
{this.renderNumberSetting('Editor Font Size (px)', 'editorFontSize', '', {
min: MIN_EDITOR_FONT_SIZE,
max: MAX_EDITOR_FONT_SIZE,
diff --git a/packages/insomnia-app/package-lock.json b/packages/insomnia-app/package-lock.json
index fb8750969..1c06a551f 100644
--- a/packages/insomnia-app/package-lock.json
+++ b/packages/insomnia-app/package-lock.json
@@ -11956,14 +11956,6 @@
}
}
},
- "font-scanner": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/font-scanner/-/font-scanner-0.1.2.tgz",
- "integrity": "sha512-60XIPuzqeTey3P8wo/3t2mvKnjeeKl3O9QFzwk2cypQgJaqYF4Q/eOMSCro3YxCzTDzcGA5q5TtDRZXkI3tx0g==",
- "requires": {
- "nan": "^2.14.0"
- }
- },
"for-in": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
diff --git a/packages/insomnia-app/package.json b/packages/insomnia-app/package.json
index 10b82d4c8..4358eaf4a 100644
--- a/packages/insomnia-app/package.json
+++ b/packages/insomnia-app/package.json
@@ -92,7 +92,6 @@
"electron-context-menu": "^2.2.0",
"electron-log": "^4.3.5",
"electron-updater": "^4.3.9",
- "font-scanner": "^0.1.2",
"framer-motion": "^1.11.1",
"fs-extra": "^5.0.0",
"fuzzysort": "^1.1.1",